Part Number Hot Search : 
00H202 UPD16431 AF4953P FD133J LC3564BT AC2078 X1624 AKD43
Product Description
Full Text Search
 

To Download Z1601720ASC Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
 Z86017/Z16017 PCMCIA Interface Solution
Product Specification
PS012002-1201
ZiLOG Worldwide Headquarters * 910 E. Hamilton Avenue * Campbell, CA 95008 Telephone: 408.558.8500 * Fax: 408.558.8300 * www.ZiLOG.com
Z86017/Z16017 PCMCIA Interface Solution Reference Manual
This publication is subject to replacement by a later edition. To determine whether a later edition exists, or to request copies of publications, contact
ZiLOG Worldwide Headquarters 910 E. Hamilton Avenue Campbell, CA 95008 Telephone: 408.558.8500 Fax: 408.558.8300 www.ZiLOG.com
Windows is a registered trademark of Microsoft Corporation.
Document Disclaimer
(c) 2001 by ZiLOG, Inc. All rights reserved. Information in this publication concerning the devices, applications, or technology described is intended to suggest possible uses and may be superseded. ZiLOG, INC. DOES NOT ASSUME LIABILITY FOR OR PROVIDE A REPRESENTATION OF ACCURACY OF THE INFORMATION, DEVICES, OR TECHNOLOGY DESCRIBED IN THIS DOCUMENT. ZiLOG ALSO DOES NOT ASSUME LIABILITY FOR INTELLECTUAL PROPERTY INFRINGEMENT RELATED IN ANY MANNER TO USE OF INFORMATION, DEVICES, OR TECHNOLOGY DESCRIBED HEREIN OR OTHERWISE. Except with the express written approval ZiLOG, use of information, devices, or technology as critical components of life support systems is not authorized. No licenses or other rights are conveyed, implicitly or otherwise, by this document under any intellectual property rights.
PS012002-1201
Z86017/Z16017 PCMCIA Interface Solution Product Specification
iii
Preface
Thank you for your interest in Zilog's PCMCIA interface solution. This Reference Manual describes the programming and operation of the Z86017 and Z16017 PCMCIA adapter chips. This Reference Manual is organized in the following way:
* * * * * *
PCMCIA Interface Overview This chapter is an introductory section that provides an overview of the architecture of the device. Addressing Modes This chapter describes the addressing modes supported by the Z86017/Z16017 architecture to ensure PCMCIA compatibility. Programming Internal Registers This chapter describes the serial interface modes. Configuration Registers This chapter describes the functions of the Z86017/Z16017 internal registers. Appendix A This appendix gives an overview of the Z86017/Z16017 multifunction pins. Appendix B This appendix provides Absolute Maximum Ratings, DC Electrical Characteristics, and Timing Specifications related to the Z86017/ Z1601. Appendix C This appendix provides various Z86017/Z16017 timing diagrams.
*
Preface
PS012002-1201
Z86017/Z16017 PCMCIA Interface Solution Product Specification
iv
* *
Appendix D This appendix provides part numbers and ordering information. Appendix E This appendix provides a description of the Z8601700ZCO PCMCIA Interface Development Kit.
PS012002-1201
Preface
Z86017/Z16017 PCMCIA Interface Solution Product Specification
v
Table of Contents
Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . iii Table of Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .v List of Figures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii List of Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi PCMCIA Interface Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1 General Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2 Pin Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .12 Pin Identification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14 Pin Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .18 PCMCIA Signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .18 Peripheral or ATA/IDE Signals . . . . . . . . . . . . . . . . . . . . . . . . . . . .21 Serial Interface Signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .24 Peripheral Control Signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .25
Addressing Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .27 Programming Internal Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .33 EEPROM Register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 Word-to-Byte Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .76
Configuration Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .79
PS012002-1201 Table of Contents
Z86017/Z16017 PCMCIA Interface Solution Product Specification
vi
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 Configuration Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
Appendix A: Multifunction Pins . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .87
Overview of Multifunction Pins . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
Appendix B: Electrical Characteristics and Timing . . . . . . . . . . . . . . . . . . . .93
internal attribute memory timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96 017 Device Slew Delay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108
Appendix C: Timing Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .113 Appendix D: Packaging and Ordering Information . . . . . . . . . . . . . . . . . . .117
20 Mhz PCMCIA Adapter Chips . . . . . . . . . . . . . . . . . . . . . . . . . . . . Package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Temperature . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Speed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Environmental . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Package Dimensions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117 117 117 117 117 119
Appendix E: PCMCIA Interface Development Kit . . . . . . . . . . . . . . . . . . . .121
General Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121 Z86017 Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121 Power Requirements: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121 Dimensions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121 Kit Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122 Evaluation Board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122 ZPCMCIA0ZDP PCMCIA Extender Card . . . . . . . . . . . . . . . . . 122
PS012002-1201
Table of Contents
Z86017/Z16017 PCMCIA Interface Solution Product Specification
vii
List of Figures
Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . iii Table of Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .v List of Figures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii List of Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi PCMCIA Interface Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1
Figure 1. Figure 2. Figure 3. Figure 4. Figure 5. Figure 6. Figure 7. Figure 8. Figure 9. ZX6017 Functional Block Diagram . . . . . . . . . . . . . . . . . . .3 Serial Port Master Mode Control . . . . . . . . . . . . . . . . . . . . .5 Serial Port Slave Mode Control . . . . . . . . . . . . . . . . . . . . . .7 EEPROM Programming Through the PCMCIA Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8 Connection Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . .9 Serial Interface Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . .10 Attribute and Configuration Memory Diagram . . . . . . . . .11 ZX6017 100-Pin VQFP Pin Configuration . . . . . . . . . . . . .12 Z86M17 and Z16M17 (Mirror Image) 100-Pin VQFP Pin Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13
Addressing Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .27 Programming Internal Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .33
Figure 10. Word-to-Byte Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . .76 Figure 11. Word-to-Byte Mode Data Path . . . . . . . . . . . . . . . . . . . . . .77
Configuration Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .79
PS012002-1201 List of Figures
Z86017/Z16017 PCMCIA Interface Solution Product Specification
viii
Appendix A: Multifunction Pins . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .87
Figure 12. Figure 13. Figure 14. Figure 15. Figure 16. Z16017BA PC_RDY/BSY/IREQ/HINT Pin . . . . . . . . . . . Z86017BA PC_WP//IOIS16//IOIS16 Pin . . . . . . . . . . . . . Z16017BA PC_WP//IOIS16//IOIS16 Pin . . . . . . . . . . . . . Z86017BA (Overview of Internal Structure) . . . . . . . . . . Z16017BA (Overview of Internal Structure) . . . . . . . . . . 87 88 89 90 91
Appendix B: Electrical Characteristics and Timing . . . . . . . . . . . . . . . . . . . .93
Figure 17. Figure 18. Figure 19. Figure 20. Figure 21. Figure 22. Figure 23. PCMCIA Read Memory Timing, No Wait States . . . . . . . 97 PCMCIA Read Memory Timing, Wait State Enabled . . . 98 PCMCIA Write Memory Timing, No Wait States . . . . . 101 PCMCIA Write Memory Timing, Wait State Enabled . . 102 I/O Read Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104 I/O Write Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106 Skew Timing Between PCMCIA and ATA/IDE or Peripheral Bus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107 Figure 24. 017 Slew Delay Derating Curve (Typical) . . . . . . . . . . . 108 Figure 25. FMaster Mode Read EEPROM Timing . . . . . . . . . . . . . 110 Figure 26. Slave Interface Timing (Read) . . . . . . . . . . . . . . . . . . . . 111
Appendix C: Timing Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .113
Figure 27. Z16017BA Reset Timing PCMCIA Mode . . . . . . . . . . . 113 Figure 28. PCMCIA ATA/IDE 16-Bit I/O Write (Register 24 = 01, Internal IOIS 16 is selected) . . . . . . . 114 Figure 29. PCMCIA ATA / IDE 8-Bit Long Read (Reading 512-byte data plus 6-byte ECC) . . . . . . . . . . . . 115
Appendix D: Packaging and Ordering Information . . . . . . . . . . . . . . . . . . .117
Figure 30. Example Package Name . . . . . . . . . . . . . . . . . . . . . . . . . 118 Figure 31. 100-Lead VQFP Package Diagram . . . . . . . . . . . . . . . . . 119
PS012002-1201
List of Figures
Z86017/Z16017 PCMCIA INterface Solution Product Specification
ix
Appendix E: PCMCIA Interface Development Kit . . . . . . . . . . . . . . . . . . . .121
List of Figures
PS012001-0901
Z86017/Z16017 PCMCIA Interface Solution Product Specification
x
PS012002-1201
List of Figures
Z86017/Z16017 PCMCIA Interface Solution Product Specification
xi
List of Tables
Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . iii Table of Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .v List of Figures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii List of Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi PCMCIA Interface Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1
Table 1. Table 2. Table 3. Device Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1 Power Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2 100-Pin VQFP Pin Identification . . . . . . . . . . . . . . . . . . . .14
Addressing Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .27
Table 4. Table 5. Table 6. Table 7. Table 8. Table 9. ZX6017 Addressing Modes . . . . . . . . . . . . . . . . . . . . . . . .27 Programming PCMCIA_ATA ZX6017 Configuration Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .29 PCMCIA Common Memory Mode . . . . . . . . . . . . . . . . . .30 PCMCIA I/O Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .31 PCMCIA_ATA Memory Mapped Access . . . . . . . . . . . . .31 PCMCIA_ATA I/O Mapped Access . . . . . . . . . . . . . . . . .32
Programming Internal Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .33
Table 10. Table 11. Table 12. Table 13. ZX6017 Card Configuration Registers . . . . . . . . . . . . . . . .33 Interface Configuration Register: Address 00h . . . . . . . . .36 Master Clock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .38 Interrupt Enable Register: Address 01h . . . . . . . . . . . . . . .39
PS012002-1201
List of Tables
Z86017/Z16017 PCMCIA Interface Solution Product Specification
xii
Table 14. Table 15. Table 16. Table 17. Table 18. Table 19. Table 20. Table 21. Table 22. Table 23. Table 24. Table 25. Table 26. Table 27. Table 28. Table 29. Table 30. Table 31. Table 32. Table 33. Table 34. Table 35. Table 36. Table 37. Table 38. Table 39. Table 40. Table 41.
Interface Configuration Register 1: Address 02h . . . . . . . PCMCIA PDIAG Pin Functions . . . . . . . . . . . . . . . . . . . . PCMCIA DASP Pin Functions . . . . . . . . . . . . . . . . . . . . . Host Chip Select Designations . . . . . . . . . . . . . . . . . . . . . Audio Pin Configurations . . . . . . . . . . . . . . . . . . . . . . . . . Interface Configuration Register 2: Address 03h . . . . . . . Interface Configuration Register 3: Address 04h . . . . . . . ATA Register Selection Designations . . . . . . . . . . . . . . . . Reset Conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . PCMCIA CCR Base Address Register: Address 05h . . . . CCR Location Examples, Register 5 . . . . . . . . . . . . . . . . . PCMCIA Interrupt Status Register: Address 06h . . . . . . . PCMCIA Exception Status Register: Address 07h . . . . . . ATA Sample Mode Bit . . . . . . . . . . . . . . . . . . . . . . . . . . . Attribute Memory Address Register: Address 08h . . . . . . Attribute Memory Data Register: Address 09h . . . . . . . . . Window 1 Control Register: Address 10h . . . . . . . . . . . . . Window 1 Start Address LSB: Address 11h . . . . . . . . . . . Window 1 Start/Range Address MSB: Address 12h . . . . . Window 1 Range Address LSB: Address 13h . . . . . . . . . . Window 2 Control Register: Address 14h . . . . . . . . . . . . . Window 2 Start Address LSB: Address 15h . . . . . . . . . . . Window 2 Start/Range Address MSB: Address 16h . . . . . Window 2 Range Address LSB: Address 17h . . . . . . . . . . Window 3 Control Register: Address 18h . . . . . . . . . . . . . Window 3 Start Address LSB: Address 19h . . . . . . . . . . . Window 3 Start/Range Address MSB: Address 1Ah . . . . Window 3 Range Address LSB: Address 1Bh . . . . . . . . .
41 42 43 44 44 45 46 47 47 48 49 50 51 52 52 53 54 55 55 56 56 57 58 58 59 60 60 61
PS012002-1201
List of Tables
Z86017/Z16017 PCMCIA Interface Solution Product Specification
xiii
Table 42. Table 43. Table 44. Table 45. Table 46. Table 47. Table 48. Table 49. Table 50. Table 51. Table 52. Table 53. Table 54. Table 55. Table 56. Table 57. Table 58. Table 59. Table 60.
EEPROM Valid flag Byte Register: Address 1Eh . . . . . . .61 EEPROM Address/Status CCR5 Back Door: Address 20h 61 EEPROM Data CCR6 Back Door: Address 21h . . . . . . . .62 EEPROM Command CCR7 Back Door: Address 22h . . . .62 Revision Control Register: Address 23h . . . . . . . . . . . . . . .63 Revision Number Register: Address 24h . . . . . . . . . . . . . .63 Bus Control 1 Register: Address 26h . . . . . . . . . . . . . . . . .64 IOIS16 Address Control Register: Address 27h . . . . . . . . .66 16-Bit_Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .67 8-Bit _CTRL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .67 Power Management Timer Count Value: Address 2Ah . . .68 Power Management control Register: Address 2Bh . . . . . .69 Interface Configuration Register 4: Address 2Ch . . . . . . . .70 Power Management Clock Select . . . . . . . . . . . . . . . . . . . .71 Configuration Index Compare Register 1: Address 2Dh . .72 Configuration Index Compare Register 2: Address 2Eh . .72 Bus Control Register: Address 2Fh . . . . . . . . . . . . . . . . . .74 Strobe Width and Access Delay . . . . . . . . . . . . . . . . . . . . .75 PCMICA Host Read and Write Address Examples, . . . . . .78
Configuration Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .79
Table 61. Table 62. Table 63. Table 64. Table 65. Table 66. PCMCIA Address xx0h to xx8h, Configuration Register Decode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .79 ZiLOG EEPROM Programming Extensions . . . . . . . . . . .80 PCMCIA Configuration Option Register CCR0: Address 0Ah . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .80 PCMCIA Card Status Register CCR1: Address 0Bh . . . . .81 PCMCIA Pin Replacement Register CCR2: Address 0Ch .82 PCMCIA socket and Copy Register CCR3: Address 0Dh .83
List of Tables
PS012001-0901
Z86017/Z16017 PCMCIA Interface Solution Product Specification
xiv
Table 67.
PCMCIA I/O Event Indication CCR4: Address 1Fh . . . . . 84
Appendix A: Multifunction Pins . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .87 Appendix B: Electrical Characteristics and Timing . . . . . . . . . . . . . . . . . . . .93
Table 68. Table 69. Table 70. Table 71. Table 72. Table 73. Table 74. Table 75. Absolute Maximum Ratings . . . . . . . . . . . . . . . . . . . . . . . 93 DC Electrical Characteristics . . . . . . . . . . . . . . . . . . . . . . . 94 Internal Attribute Memory Timing . . . . . . . . . . . . . . . . . . 96 PCMCIA Memory Write Timing . . . . . . . . . . . . . . . . . . . 99 I/O Read Timing Specification . . . . . . . . . . . . . . . . . . . . 103 I/O Write Timing Specification . . . . . . . . . . . . . . . . . . . . 105 Skew Timing Between PCMCIA And ATA/IDE or Peripheral Bus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106 Serial Interface Timing . . . . . . . . . . . . . . . . . . . . . . . . . . 109
Appendix C: Timing Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .113 Appendix D: Packaging and Ordering Information . . . . . . . . . . . . . . . . . . .117 Appendix E: PCMCIA Interface Development Kit . . . . . . . . . . . . . . . . . . . .121
PS012002-1201
List of Tables
Z86017/Z16017 PCMCIA Interface Solution Product Specification
1
PCMCIA Interface Overview
FEATURES
Table 1. Device Features Device Z86017 Z86M171 Z16017 Z16M171
NOTES:
RAM (Bytes) 256 256 256 256
Speed 20 20 20 20
Package 100-Pin VQFP 100-Pin VQFP 100-Pin VQFP 100-Pin VQFP
1.Mirror Image Bond-Out Options
* * * * * * * * * * *
PCMCIA Configuration Registers Sequencer for programming attribute memory using EEPROM content, MASTER mode Serial Peripheral Interface (SPI) circuitry allows control through the local microprocessor, SLAVE mode PCMCIA to I/O peripheral PCMCIA to ATA/IDE translation ATA/IDE to ATA/IDE mapping, PASSHROUGH mode Operates from a 3.0V to 5.5V power supply Conforms to PCMCIA standards Low power dissipation Mirror image bond-out option (Z86M17/Z16M17) On-chip generation of IOIS16 in I/O mode (Z16017)
PCMCIA Interface Overview
PS012002-1201
Z86017/Z16017 PCMCIA Interface Solution Product Specification
2
General Description
The Z86017/Z16017 (ZX6017) are general-purpose PCMCIA adapter chips used on the card side of the interface. For increased versatility, "mirror image" bond-out versions, the Z86M17 and Z16M17, are also available. These chips are easily configured to allow access to all types of memory or I/O-mapping peripherals, such as Ethernet controllers, Universal Asynchronous Receiver/Transmitters (UART), modems, rotating disk memory, and so on. The ZX6017 can be used in a standalone configuration without the use of a local processor when all necessary data for Attribute Memory, Card Configuration Registers (CCR), Memory/I/O maps, and so on, are being provided by a local serial EEPROM. The serial EEPROM is read automatically using an internal EEPROM sequencer. The ZX6017 can also be configured by a local microprocessor, when one is being used on the card. Throughout this document, references to the ZX6017 device applies equally to the Z86017 and Z16017, unless otherwise specified. Note: All Signals with an overline ( ) are active Low, that is, B/W (WORD is active Low); B/W (BYTE is active Low, only). Power connections follow conventional descriptions below:
Table 2. Power Connections Connection Power Ground Circuit VCC GND Device VDD VSS
The ZX6017 can be programmed by one of two ways: an external 256 byte serial EEPROM can be connected to the serial port interface, or a microprocessor can be connected to this port to provide a higher level of control. Figure 1 depicts the functional block diagram for the ZX6017.
PS012002-1201
PCMCIA Interface Overview
Z86017/Z16017 PCMCIA Interface Solution Product Specification
3
Address Decoder
PCMCIA Configuration Registers PCMCIA Bus PCMCIA Interface
Window Decoder Peripheral Bus
ATA/IDE or Peripheral Bus
PC_A[25:11]
PCMCIA Memory and I/O (16-Bit)
Peripheral Bus Interface (16-Bit)
Attribute Memory (256 Bytes)
Control Registers
EEPROM Sequencer Local Serial EEPROM SPI Control P SPI Port
Figure 1.
ZX6017 Functional Block Diagram
Power-On Reset
The ZX6017 defaults to the Memory Only interface as outlined in the PCMCIA specification upon deassertion of Power-On Reset /POR). The hardware sets Busy on the PC_RDY/BSY pin and then addresses the EE_MASTER pin. If the EE_MASTER pin is unconnected or pulled High, the ZX6017 serial interface defaults to the Master mode and an external EEPROM is required. If this pin is pulled Low, the SLAVE mode is selected and an external microprocessor is required to configure the ZX6017 through the serial interface pins. Next, the hardware addresses the PC_ATA//HOE pin. If the PC_ATA/ HOE pin is held Low for 40 clocks (PC_MCLK_IN) after POR deassertion, the ZX6017 is enabled for ATA/IDE to ATA/IDE PASSTHROUGH mode. The PASSTHROUGH mode is for systems that
PCMCIA Interface Overview
PS012002-1201
Z86017/Z16017 PCMCIA Interface Solution Product Specification
4
use the physical PCMCIA 68-pin connector but do not support PCMCIA protocol. If this pin is held High (PC_ATA/HOE), the device is placed into the PCMCIA mode. The override bits in register 00H determine what mode(s) the user can support.
Serial Port Operation (Master) Mode
After the ZX6017 determines that an external EEPROM is present (see Figure 2), the Ready/Busy pin on the PCMCIA interface is set to Busy. The ZX6017 internal sequencer starts up and reads EEPROM address 1eh. If EEPROM address 1Eh is loaded with a 1Ch then the EEPROM's data is considered to be valid. After that, the internal sequencer resets its address counter back to zero. Data from EEPROM's addresses [00-2F] is read out and put into the on-board registers of the ZX6017. The EEPROM sequencer then reads EEPROM addresses 30h to FFh and each byte is moved into the ZX6017 on-board attribute memory addresses 00-CFh. After loading the registers and attribute memory, the sequencer completes by clearing the Ready/Busy pin on the PCMCIA interface indicating 1 "Ready." If EEPROM address 1Eh does not contain 1Ch, then the sequencer stops. The PCMCIA Ready/Busy pin stays in the Busy state, the on-board registers of the ZX6017 remain in their default state, and attribute memory data is unknown. The user can program the off-board EEPROM through the PCMCIA interface by means of three special registers and ignore Busy.
PS012002-1201
PCMCIA Interface Overview
Z86017/Z16017 PCMCIA Interface Solution Product Specification
5
PCMCIA Bus PC_DATA 15:0
Local Peripheral Bus
Z86017
Attribute Memory
ATA_DATA 15:0 ATA_HCS0 ATA_HCS1 ATA_HA0 ATA_HA1 ATA_HA2 ATA_HIOR ATA_HIOW
Chip Selects
PC_HA 10:0
Address Selects
PCMCIA Host
PC_RDY//BSY/IREQ/HINT PC_WAIT/IOCHRDY PC_HCE1/HCS0 PC_HCE2/HCS1 PC_ATA/HOE PC_HIOR PC_HIOW PC_HWE PC_REG/DACK PC_HRESET/HRESET
Window 1 Start/Range Decoder
I/O R/W Strobes
General Peripheral Bus Interface
Window 2 Start/Range Decoder
Window 3 Start/Range Decoder
PC_BVD1/STSCHG/PDIAG PC_WP/IOIS16/IOCS16 PC_BVD2/SPKR/DASP/DREQ PC_INPACK/DREQ
A TA/IDE Window Decoder EEPROM or P Control
Memory R/W ATA_MRD Strobes ATA_MWR ATA_IOCHRDY ATA_IREQ ATA_IOCS16 ATA_RESET ATA_DREQ/BVD1 ATA_PDASP/EXTP_WP ATA_PDIAG/ATA_BHE/RING_IN ATA_DACK/BVD2 EXTP_PWDN EXTP_AUDIO EXTP_STSCHG/RES2
CLK
PC_MCLK_IN POR EE_CS EE_SK EE_DI EE_MASTER EE_DO M_PINT CS
POR 0.1 F
CK DO DI EEPROM GND ORG NC VCC
Figure 2.
Serial Port Master Mode Control
Serial Port Operation (SLAVE) Mode
When the ZX6017 is placed in serial port SLAVE mode (EE_Master signal grounded on POR), the EEPROM sequencer is disabled and the user must provide external hardware (microprocessor) with serial interface to program CCRs and attribute memory. Additionally, if the
PCMCIA Interface Overview
PS012002-1201
Z86017/Z16017 PCMCIA Interface Solution Product Specification
6
POR signal is deasserted, the user must provide a clock source on the PC_MCLK_IN pin in the range of 1-20MHz. The external hardware can program the on-board registers and the attribute memory by selecting the ZX6017 and pulling the EE_CS pin High. The external hardware must set up the data to be sent to the ZX6017 on the EE_DI pin and strobe the EE_SK pin. The first byte of data is the address selected by the user, the second byte is the command byte and the third byte is the data. The external hardware must provide 24 clocks in order to read or write to a location in the ZX6017 (see Figure 26, Slave Interface Timing, in Appendix B). To program the on-board attribute memory, the user must first write to it. Accomplish this programming by writing the address location of the attribute memory to be written (or read) in the attribute RAM data address register at location 08h. When this step has been accomplished, the user then writes (or reads) the attribute RAM data register 09h with the data to be read or written at that location. Note: The attribute RAM address register auto-incriments after reading or writing to the attribute RAM data register. Figure 3 demonstrates programming the ZX6017 in SLAVE Mode. The external user's hardware writes to register 00 and selects the clock divide by and the override mode (if needed). The READY/BUSY pin remains set to 0 to indicate BUSY, and a local P interrupt polarity is selected. The user programs registers 01-05, followed by registers 0Ah-2Fh. The user writes to the attribute memory by setting the address in the address register 08h and in the loop on data register 09h with the user's attribute memory data. The user completes the operation by writing back to register 00 to clear the READY/READY status.
PS012002-1201
PCMCIA Interface Overview
Z86017/Z16017 PCMCIA Interface Solution Product Specification
7
PCMCIA Bus PC_DATA 15:0
Local Peripheral Bus
Z86017
Attribute Memory
ATA_DATA 15:0 ATA_HCS0 ATA_HCS1 ATA_HA0 ATA_HA1 ATA_HA2 ATA_HIOR ATA_HIOW Memory R/W ATA_MRD Strobes ATA_MWR ATA_IOCHRDY ATA_IREQ ATA_IOCS16 ATA_RESET ATA_DREQ/BVD1 ATA_PDASP/EXTP_WP ATA_PDIAG/ATA_BHE/RING_IN ATA_DACK/BVD2 EXTP_PWDN EXTP_AUDIO EXTP_STSCHG/RES2
Chip Selects
PC_HA 10:0
Address Selects
PCMCIA Host
PC_RDY/BSY/IREQ/HINT PC_WAIT/IOCHRDY PC_HCE1/HCS0 PC_HCE2/HCS1 PC_ATA/HOE PC_HIOR PC_HIOW PC_HWE PC_REG/DACK PC_HRESET/HRESET
Window 1 Start/Range Decoder
General Peripheral Bus Interface
Window 2 Start/Range Decoder Window 3 Start/Range Decoder A TA/IDE Window Decoder EEPROM or P Control
PC_BVD1//STSCHG//PDIAG PC_WP//IOIS16//IOCS16 PC_BVD2//SPKR//DASP/DREQ PC_INPACK/DREQ
CLK
PC_MCLK_IN /POR EE_CS EE_SK EE_DI EE_MASTER EE_DO M_PINT
POR 0.1 F
Local P
Figure 3.
Serial Port Slave Mode Control
EEPROM Programming Through the PCMCIA Interface
The ZX6017 can program the serial EEPROM through the PCMCIA interface. EEPROM programming is accomplished by means of three special registers that are accessed identically to the CCR registers as defined by the PCMCIA specification (Figure 4). These registers are fixed at addresses 7F0, 7F2, and 7F4. The host software reads and writes each byte of the EEPROM through these registers and configures the
PCMCIA Interface Overview
PS012002-1201
Z86017/Z16017 PCMCIA Interface Solution Product Specification
8
ZX6017 device. After the host writes new values to the EEPROM through these registers, the new values are loaded into the ZX6017 at Power-On Reset (POR). Note: The values written register 05h offset the CCR registers and the three special EEPROM programming registers on the next POR.
PCMCIA Bus PC_DATA 15:0
Local Peripheral Bus
Z86017
Attribute Memory Window 1 Start/Range Decoder Window 2 Start/Range Decoder Window 3 Start/Range Decoder ATA/IDE Window Decoder EEPROM Programming Registers
ATA_DATA 15:0 ATA_HCS0 ATA_HCS1 ATA_HA0 ATA_HA1 ATA_HA2 ATA_HIOR ATAA_HIOW
Chip Selects
PC_HA 10:0
Address Selects
PCMCIA Host
PC_RDY/BSY/IREQ/HINT PC_WAIT/IOCHRDY PC_HCE1/HCS0 PC_HCE2/HCS1 PC_ATA/HOE PC_HIOR PC_HIOW PC_HWE PC_REG/DACK PC_HRESET/HRESET
I/O R/W Strobes
General Peripheral Bus Interface
Memory R/W ATA_MRD Strobes ATA_MWR ATA_IOCHRDY ATA_IREQ ATA_IOCS16 ATA_RESET ATA_DREQ/BVD1 ATA_PDASP/EXTP_WP ATA_PDIAG/ATA_BHE/RING_IN ATA_DACK/BVD2 EXTP_PWDN EXTP_AUDIO EXTP_STSCHG/RES2 PC_MCLK_IN /POR EE_CS EE_SK EE_DI EE_MASTER EE_DO M_PINT
PC_BVD1//STSCHG/PDIAG PC_WP/IOIS16/IOCS16 PC_BVD2//SPKR/DASP/DREQ PC_INPACK/DREQ EEPROM Programming Registers 7F0H 7F2H 7F4H EEPROM Address/Status EEPROM Data EEPROM Command
CLK
POR 0.1 F
EEPROM Commands A8H AAH ABH ACH ADH Read Write Erase Disable Write Enable Write or Erase
CS
CK
DO DI
EEPROM GNDORG NC VCC
Figure 4.
EEPROM Programming Through the PCMCIA Interface
PS012002-1201
PCMCIA Interface Overview
Z86017/Z16017 PCMCIA Interface Solution Product Specification
9
Address Mapping Circuit
Internal Bus, IB7-IB0 and Controls
PCMCIA Address and Control Bus
Window 0 Address 03, 04 ATA/IDE Map - Special Register Mapping Circuit for ATA/IDE
Window 1 Address Additional Chip Select and Range Address Range 10, 11,12,13 Register Starting Address Register Address Control Register - Memory - I/O - External Chip Select
Actual Address And Strobes
HCS0 Chip Select Logic and Address Logic HCS1 IOWR IORD
Window 2 Address Address Range 14,15,16,17 Register Starting Address Register Address Control Register - Memory - I/O - External Chip Select
MRD MWR HA2-HA0
Window 3 Address Address Range 18,19,1A,1B Register Starting Address Register Address Control Register - Memory - I/O - External Chip Select
Figure 5.
Connection Block Diagram
PCMCIA Interface Overview
PS012002-1201
Z86017/Z16017 PCMCIA Interface Solution Product Specification
10
EE_DI Serial Data In
Serial to Parallel Shift Register
Parallel to Serial Shift Register EE_Master 1 = Master 0 = Slave
EE_DO Serial Data Out
Serial Bus Sequencer - Master - Slave
EE_SK Serial Clock EE_CS Chip Select
PCMCIA EEPROM ADDRESS Register Address Register PCMCIA EEPROM DATA Register Data Register PCMCIA EEPROM Command Register Control Register - Read/Write, etc. Buffer Internal Bus IB7-IB0 and Controls
Figure 6.
Serial Interface Diagram
PS012002-1201
PCMCIA Interface Overview
Z86017/Z16017 PCMCIA Interface Solution Product Specification
11
Internal Bus IB7-IB0
Data In 256 Bytes of Attribute Memory Data Out Address
Internal Bus IB7-IB0 XCVR
Bus Mux
PCMCIA Output Bus
PCMCIA
Address Counter/ Latch
Internal Bus
Configuration Option Register, Register 0
PCMCIA Bus
Card Configuration and Status, Register 1 Bus Mux Bus Mux Pin Replacement Register, Register 2 Internal Bus IB7-IB0 Internal Bus
Socket and Copy Register, Register 3
I/O Event Register Register 4 PCMCIA Bus EEPROM Extension Registers, Address, Status, Command and Data
Revision Register Read Only
Figure 7.
Attribute and Configuration Memory Diagram
PCMCIA Interface Overview
PS012002-1201
Z86017/Z16017 PCMCIA Interface Solution Product Specification
12
PIN DESCRIPTION
PC_DATA3 VDD EXTP_STSCHG/RES2 EXTP_AUDIO
PC_DATA15 PC_HCE1/HCS0 VDD PC_DATA14
EXTP_APWDN PC_MCLK_IN V_PINT POR ATA_MWR EE_D1 EE_D0 EE_CS 55
PC_DATA7 PC_DATA13
PC_DATA6 VSS PC_DATA12
75 PC_HA10 VSS PC_HCE2//HCS1 PC_ATA//HOE PC_HIOR PC_HIOW VDD PC_HA9 PC_HA8 PC_HWE PC_RDY/BSY/IREQ/HINT PC_HA7 VSS PC_HA6 PC_HA5 PC_HA4 PC_HRESET/HRESET VDD PC_WAIT/IOCHRDY PC_HA3 PC_INPACK/DREQ PC_HA2 PC_REG//DACK PC_HA1 PC_BVD2/SPKR/DASP/DREQ 100 1 5 80 76
70
PC_DATA5 PC_DATA11 PC_DATA4
65
60
51 50 EE_SK ATA_MRD ATA_DREQ/BVD1 ATA_DACK/BVD2 ATA_PDASP/EXTP_WP ATA_PDIAG/ATA_BHE/RING_IN VSS ATA_HCS1 ATA_HCS0 ATA_HA2 ATA_HA0 ATA_HA1 VDD ATA_IOCS16 35 ATA_IREQ ATA_IOCHRDY ATA_HIOR ATA_HIOW VSS ATA_DATA15 ATA_DATA0 ATA_DATA14 ATA_DATA1 ATA_DATA13 26 ATA_DATA2
85 40
90
Z86017/Z16017 100-Pin VQFP
95 30
10
15
20
25
Pin 1
PC_BVD1/STSCHG/PDIAG PC_DATA0 PC_DATA8 VSS PC_DATA1 PC_DATA9 PC_DATA2 PC_DATA10 PC_WP/IOIS16/IOCS16 ATA_HRESET ATA_DATA7 ATA_DATA8/RES1 VDD VSS ATA_DATA6 ATA_DATA9/PACK_IN ATA_DATA5 ATA_DATA10 VSS ATA_DATA4 ATA_DATA11 ATA_DATA3 VDD ATA_DATA12 PC_HA0
Figure 8.
ZX6017 100-Pin VQFP Pin Configuration
PS012002-1201
PCMCIA Interface Overview
EE_MASTER 45
Z86017/Z16017 PCMCIA Interface Solution Product Specification
13
PC_HAO PC_BVD1//STSCHG//PDIA G PC_DATA0 PC_DATA8 VSS PC_DATA1 PC_DATA9 PC_DATA2 PC_DATA10 PC_WP//IOS16//IOCS16 ATA_HRESET ATA-DATA7 ATA_DATA8/RES1 VDD VSS ATA_DATA6 70 65 60
75 PC_BVD2//SPKR//DASP/DREQ PC_HA1 PC_REG//DACK PC_HA2 PC_INPACK/DREQ PC_HA3 PC_WAIT/IOCHRDY VDD PC_HRESET/HRESET PC_HA4 PC_HA5 PC_HA6 VSS PC_HA7 PC_RDY/BSY/IREQ/HINT PC_HWE PC_HA8 PC_HA9 VDD PC_HIOW PC_HIOR PC_ATA//HOE PC_HCE2//HCS1 VSS PC_HA10 76
ATA_DATA9/PACK_IN ATA_DATA5 ATA_DATA10 VSS ATA_DATA4 ATA_DATA11 ATA_DATA3 VDD ATA_DATA12 55 51 50 ATA_DATA2 ATA_DATA13 ATA_DATA1 ATA_DATA14 ATA_DATA0 ATA_DATA15 VSS ATA_HIOW ATA_HIOR ATA_IOCHRDY ATA_IREQ ATA_IOCS16 VDD ATA_HA1 ATA_HA0 ATA_HA2 ATA_HCSO ATA_HCS1 VSS N ATA_PDIAG/ATA_BHE/RING_I ATA_PDASP/EXTP_WP ATA_DACK/BVD2 ATA_DREQ/BVD1 ATA_MRD EE_SK 45 40 35 30 26 20 25
80
85
Z86M17 and Z16M17 100-Pin VQFP
90
95
100 1 5 10 15
Pin 1
PC_DATA15 PC_HCE1//HCSO VDD PC_DATA14 PC_DATA7 PC_DATA13 PC_DATA6 VSS PC_DATA12 PC_DATA5 PC_DATA11 PC_DATA4 PC_DATA3 VDD EXTP_STSCHG/RES2 EXTP_AUDIO EXTP_PWDN PC_MCLK_IN M_PINT /POR ATA_MWR EE_DI EE_D0 EE_CS EE_MASTER
Figure 9.
Z86M17 and Z16M17 (Mirror Image) 100-Pin VQFP Pin Configuration
PCMCIA Interface Overview
PS012002-1201
Z86017/Z16017 PCMCIA Interface Solution Product Specification
14
PIN IDENTIFICATION
Table 3. 100-Pin VQFP Pin Identification ZX6017 M17 Name 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 PC_HA0 PC_BVD1//STSCHG//PDIAG PC_DATA0 PC_DATA8 VSS PC_DATA1 PC_DATA9 PC_DATA2 PC_DATA10 PC_WP//IOIS16//IOCS16 ATA_HRESET ATA_DATA7 ATA_DATA8/RES1 VDD VSS ATA_DATA6 ATA_DATA9/PACK_IN ATA_DATA5 ATA_DATA10 VSS ATA_DATA4 ATA_DATA11 ATA_DATA3 VDD ATA_DATA12 ATA_DATA2 ATA_DATA13 ATA_DATA1 Description PCMCIA Address, Bit 0 Battery Voltage Detect 1, Status Change, PDiag PCMCIA Data, Bit 0 PCMCIA Data, Bit 8 Ground PCMCIA Data, Bit 1 PCMCIA Data, Bit 9 PCMCIA Data, Bit 2 PCMCIA Data, Bit 10 Write Protect PCMCIA I/O Is 16-Bit Transfers AT Host RESET AT Host Data, Bit 7 AT Host Data, Bit 8, Reserved Input 1 Supply Voltage Ground AT Host Data, Bit 6 AT Host Data, Bit 9, PACK_IN AT Host Data, Bit 5 AT Host Data, Bit 10 Ground AT Host Data, Bit 4 AT Host Data, Bit 11 AT Host Data, Bit 3 Supply Voltage AT Host Data, Bit 12 AT Host Data, Bit 2 AT Host Data, Bit 13 AT Host Data, Bit 1
PS012002-1201
PCMCIA Interface Overview
Z86017/Z16017 PCMCIA Interface Solution Product Specification
15
Table 3. 100-Pin VQFP Pin Identification (Continued) ZX6017 M17 Name 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 ATA_DATA14 ATA_DATA0 ATA_DATA15 VSS ATA_HIOW ATA_HIOR ATA_IOCHRDY ATA_IREQ ATA_IOCS16 VDD ATA_HA1 ATA_HA0 ATA_HA2 ATA_HCS0 ATA_HCS1 VSS ATA_PDIAG/ATA_BHE/ Ring_IN ATA_PDASP/EXTP_WP ATA_DACK/BVD2 ATA_DREQ/BVD1 ATA_MRD EE_SK EE_MASTER EE_CS EE_DO EE_DI ATA_MWR POR M_PINT PC_MCLK_IN Description AT Host Data, Bit 14 AT Host Data, Bit 0 AT Host Data, Bit 15 Ground AT Host I/O Write Strobe AT Host I/O Read Strobe AT Host I/O Channel Ready AT Host Interrupt Request AT Host I/O Is 16 Bits Wide Supply Voltage AT Host Address, Bit 1 AT Host Address, Bit 0 AT Host Address, Bit 2 AT Host Chip Select 0 AT Host Chip Select 1 Ground PDIAG I/O, Byte High Enable, RING_IN PDASP I/O or Write Protect In AT Host DMA Acknowledge, Battery Voltage Input 2 AT Host DMA Request, Battery Voltage Input 1 AT Host Memory Read Strobe EEPROM Data Clock EEPROM Is Master EEPROM Data Chip Select EEPROM Data Out EEPROM Data In AT Host Memory Write Strobe Power-On Reset Local Processor Interrupt Master Clock In
PCMCIA Interface Overview
PS012002-1201
Z86017/Z16017 PCMCIA Interface Solution Product Specification
16
Table 3. 100-Pin VQFP Pin Identification (Continued) ZX6017 M17 Name 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 EXTP_PWDN EXTP_AUDIO EXTP_STSCHG/RES2 VDD PC_DATA3 PC_DATA4 PC_DATA11 PC_DATA5 PC_DATA12 VSS PC_DATA6 PC_DATA13 PC_DATA7 PC_DATA14 VDD PC_HCE1//HCS0 PC_DATA15 PC_HA10 VSS PC_HCE2//HCS1 PC_ATA//HOE PC_HIOR PC_HIOW VDD PC_HA9 PC_HA8 PC_HWE PC_RDY//BSY//IREQ/HINT PC_HA7 VSS PC_HA6 PC_HA5 Description Power Down Output Audio Input Status Change Input, Reserved Input 2 Supply Voltage PCMCIA Data, Bit 3 PCMCIA Data, Bit 4 PCMCIA Data, Bit 11 PCMCIA Data, Bit 5 PCMCIA Data, Bit 12 Ground PCMCIA Data, Bit 6 PCMCIA Data, Bit 13 PCMCIA Data, Bit 7 PCMCIA Data, Bit 14 Supply Voltage PCMCIA Card Enable 1 ATA Chip Select 0 PCMCIA Data, Bit 15 PCMCIA Address, Bit 10 Ground PCMCIA Card Enable 2 ATA Chip Select 1 Mode Select/PCMCIA Output Enable PCMCIA I/O Read Strobe PCMCIA I/O Write Strobe Supply Voltage PCMCIA Address, Bit 9 PCMCIA Address, Bit 8 PCMCIA Write Enable PCMCIA Ready/Busy, Interrupt Request PCMCIA Address, Bit 7 Ground PCMCIA Address, Bit 6 PCMCIA Address, Bit 5
PS012002-1201
PCMCIA Interface Overview
Z86017/Z16017 PCMCIA Interface Solution Product Specification
17
Table 3. 100-Pin VQFP Pin Identification (Continued) ZX6017 M17 Name 91 92 93 94 95 96 97 98 99 100 85 84 83 82 81 80 79 78 77 76 PC_HA4 PC_HRESET//HRESET VDD PC_WAIT/IOCHRDY PC_HA3 PC_INPACK/DREQ PC_HA2 PC_REG//DACK PC_HA1 PC_BVD2//SPKR//DASP/ DREQ Description PCMCIA Address, Bit 4 PCMCIA Reset Supply Voltage PCMCIA Wait, /IOCHRDY PCMCIA Address, Bit 3 PCMCIA Input Acknowledge, DREQ PCMCIA Address, Bit 2 PCMCIA Register Signal, DACK PCMCIA Address, Bit 1 PCMCIA Battery Voltage Detect 2, Speaker Output, DASP, DREQ
PCMCIA Interface Overview
PS012002-1201
Z86017/Z16017 PCMCIA Interface Solution Product Specification
18
PIN FUNCTIONS PCMCIA Signals
* * * * * *
PC_DATA<15:0> ( I/O, Tristate, 8 mA) PCMCIA Mode: 16-bit host Data bus. ATA/IDE Mode: 16-bit host Data bus. PC_HA<10:3> (Input) PCMCIA Mode: Host Address lines: 10,9,8,7,6,5,4,3. ATA/IDE Mode: Not used. PC_HA<2:0> I(nput) PCMCIA Mode: Host Address lines: 2,1,0. ATA/IDE Mode: Host Address lines: 2,1,0. PC_HCE1//HCS0 (Input, 100K Pull-Up) PCMCIA Mode: This signal is Card Enable 1 (active Low). ATA/IDE Mode: Host Chip Select 0 (active Low). PC_HCE2//HCS1 (Input, 100K Pull-Up) PCMCIA Mode: This signal is Card Enable 2 (active Low). ATA/IDE Mode: Host Chip Select 1 (active Low). PC_REG/DACK (Input, 100K Pull-Up) PCMCIA Mode: (/REG), Register bit is asserted when the host selects I/O or Attribute Memory. ATA/IDE Mode: Data acknowledge (/DACK) defined in ATA. Issued during DMA data transfers on the data bus. PC_ATA//HOE ( Input, 100K Pull-Up) PCMCIA Mode: Memory Output Enable Strobe. ATA/IDE Mode: When pulled Low on Power-On Reset, this signal indicates ATA/IDE mode. PC_HWE (Input, 100K Pull-Up) PCMCIA Mode: Memory Write Enable Strobe. ATA/IDE Mode: Not used.
*
*
PS012002-1201
PCMCIA Interface Overview
Z86017/Z16017 PCMCIA Interface Solution Product Specification
19
*
PC_HIOR (Input, 100K Pull-Up) PCMCIA Mode: In PCMCIA I/O mode, this is the Input/Output Read Strobe. ATA/IDE Mode: Input/Output Read Strobe. PC_HIOW (Input, 100K Pull-Up) PCMCIA Mode: In PCMCIA I/O mode, this is the Input/Output Write Strobe. ATA/IDE Mode: Input/Output Write Strobe. PC_HRESET/HRESET(Input, Schmitt-Triggered, 100K Pull-Up) PCMCIA Mode: Active High input Reset signal. ATA/IDE Mode: Active Low input Reset signal. PC_RDY/BSY/IREQ/HINT (Output, 8 mA) PCMCIA Mode: In PCMCIA memory mode, this signal is READY/ BUSY. This signal will be asserted BUSY by the RESET logic. In PCMCIA I/O mode, this signal is /IREQ. ATA/IDE Mode: When enabled, the HINT signal is used to interrupt the host (active High). PC_WP//IOIS16//IOCS16 (Output, Tri-State, 8 mA) PCMCIA Mode: In PCMCIA memory mode, this signal is Write Protected. In PCMCIA I/O mode, this signal is IOIS16 and indicates that a 16-bit capable I/O device is being accessed on the PCMCIA bus. ATA/IDE Mode: I/O chip select 16 indicates that a 16- bit transfer is active on the bus. PC_WAIT/IOCHRDY (Output, Tri-State, 8 mA) PCMCIA Mode: Insert Wait States when held active and the chip is being selected in I/O or memory mode. ATA/IDE Mode: Inserts Wait States when held active, and when the chip is being selected. PC_INPACK/DREQ (Output, Tri-State, 8 mA) PCMCIA Mode: In PCMCIA I/O mode this signal is Input Acknowledge. It is asserted by the card when the card is selected and
*
* *
*
*
*
PCMCIA Interface Overview
PS012002-1201
Z86017/Z16017 PCMCIA Interface Solution Product Specification
20
can respond to an I/O cycle at the address on the address bus. ATA/IDE Mode: This signal is Data request (DREQ), defined in ATA. It is issued during DMA data transfers on the data bus.
*
PC_BVD1/STSCHG/PDIAG (I/O, 8 mA) PCMCIA Memory Mode: Battery Voltage Detect 1, output. PCMCIA I/O Mode: Status Changed. This signal is used to indicate the change of status in the Pin Replacement Register (I/O Mode) or state of the BVD1 input when in Memory Mode. ATA/IDE Mode: Passed diagnostics. PC_BVD2/SPKR/DASP/DREQ (I/O, Tri-State, 10 mA) PCMCIA Memory Mode: Battery Voltage Detect 2, output. PCMCIA I/O Mode: SPKR, inverted AUDIO_EXTP signal, output; PCMCIA ATA Mode: ATA Data Request is the input pin for this signal, when DMA Enable bit is set in Window Start/Range Address registers. ATA/IDE Mode: Drive active/Slave present DASP. ATA_DATA<15:10> (I/O, Tri-State, 8 mA) ATA/IDE Mode: Host Data Bus, bits: 15,14,13,12,11,10.
*
*
PS012002-1201
PCMCIA Interface Overview
Z86017/Z16017 PCMCIA Interface Solution Product Specification
21
Peripheral or ATA/IDE Signals
* *
ATA_DATA<15:10> (I/O, Tri-State, 8 mA) ATA/IDE Mode: Host Data Bus, bits: 15,14,13,12,11,10. Peripheral Mode: Peripheral data bus, bits: 15, 14, 13, 12, 11,10. ATA_DATA9/PACK_IN (I/O, Tri-State, 8 mA) ATA/IDE Mode: Host Data Bus, bit: 9. Peripheral Mode: When 8-bit mode is enabled (on the Local side) ATA_DATA9 can be used as a PACK_IN input. ATA_DATA8/RES1 (I/O, Tri-State, 8 mA) ATA/IDE Mode: Host Data Bus, bit: 8. Peripheral Mode: When 8-bit mode is enabled (on the Local side), ATA_DATA8 can be used as a RES1 input. ATA_DATA<7:0> (I/O, Tri-State, 8 mA) ATA/IDE Mode: Host Data Bus, bits: 7,6,5,4,3,2,1,0. Peripheral Mode: Peripheral Data Bus, bits: 7,6,5,4,3,2,1,0. ATA_HA<2:0> (Output, 8 mA) ATA/IDE Mode: ATA Host Address bits used to address the IDE interface chip. Peripheral Mode: Lower three bits offset from starting address. ATA_HCS0 (Output, 8 mA) ATA/IDE Mode: ATA Host Chip Select 0, used to select the IDE interface chip. Peripheral Mode: Chip Select 0 used as a chip select for an external peripheral device as defined by the address range and offset register definition. ATA_HCS1 (Output, 8 mA) ATA/IDE Mode: ATA Host Chip Select 1, used to select the IDE interface chip. Peripheral Mode: Chip Select 1 used as a chip select for an external peripheral device as defined by the address range and offset register definition.
*
* *
*
*
PCMCIA Interface Overview
PS012002-1201
Z86017/Z16017 PCMCIA Interface Solution Product Specification
22
*
ATA_HIOR (Output, 8 mA) ATA/IDE Mode: ATA Host I/O Read Strobe. Peripheral Mode: I/O read strobe or memory read strobe, depending on configuration. ATA_HIOW (Output, 8 mA) ATA/IDE Mode: ATA Host I/O Write Strobe. Peripheral Mode: I/O Write Strobe or Memory Write Strobe, depending on configuration. ATA_IOCS16 (Input, 100K Pull-Up) ATA/IDE Mode: I/O channel is 16 bits wide; input on the local ATA bus. Peripheral Mode: I/O access is 16 bits wide. ATA_IREQ (Input) ATA/IDE Mode: ATA/IDE host Interrupt Request. Peripheral Mode: Interrupt Request. ATA_IOCHRDY (Input, 100K Pull-Up) ATA/IDE Mode: ATA/IDE I/O Channel Ready-Input. Peripheral Mode: I/O Channel Ready. ATA_HRESET (Output, 8 mA) ATA/IDE Mode: ATA Host Reset-Output to the ATA/IDE controller (programmable). Peripheral Mode: Host reset output to the peripheral device if PCMCIA signal is active (programmable). ATA_DREQ/BVD1 (Input) ATA/IDE Mode: ATA/IDE DMA request from the ATA/IDE controller. Peripheral Mode: Peripheral bus DMA Request or when in memory mode Battery Voltage 1 Detect input. ATA_DACK/BVD2 (I/O, 8 mA) ATA/IDE Mode: ATA/IDE host DMA Acknowledge. Peripheral Mode: Peripheral Bus DMA Acknowledge. DMA
*
*
* * *
*
*
PS012002-1201
PCMCIA Interface Overview
Z86017/Z16017 PCMCIA Interface Solution Product Specification
23
acknowledge is generated by the ZX6017 whenever DMA Acknowledge is enabled in the Window Start/Range Address registers and the address corresponds to the DMA address; or Battery Voltage 2 Detect input in memory mode.
*
ATA_PDASP/EXTP_WP (I/O, Tri-State, 8 mA) ATA/IDE Mode: ATA/IDE bus side PDASP signal controlled by internal bits ZEN_EXT_PDASP (Input) or ZEN_INT_PDASP (Output). Peripheral Mode: When configured as a Write Protect input, this pin will disable Write on the peripheral bus side. ATA_PDIAG/ATA_BHE/RING_IN (I/O, Tri-State, 8 mA) ATA/IDE Mode: ATA/IDE bus side PDIAG signal controlled by internal bits ZEN_EXT_PDIAG (Input) or ZEN_INT_PDIAG (Output). Peripheral Mode: When configured as Byte High Enable for memory boards, ATA_BHE indicates High byte available, or it can be configured to be the RING_IN input signal for the I/O event indicator CCR4. ATA_MRD (Output, 8 mA) ATA/IDE Mode: Not used. Peripheral Mode: External Memory Read Strobe. ATA_MWR (Output, 8 mA) ATA/IDE Mode: Not used. Peripheral Mode: External Memory Write Strobe.
*
* *
PCMCIA Interface Overview
PS012002-1201
Z86017/Z16017 PCMCIA Interface Solution Product Specification
24
Serial Interface Signals
*
EE_DO (Output, 8 mA, Tri-State) Master Mode: EEPROM data out Serial data, valid during EE_SK edge. In master mode, this signal is an output. Slave Mode: In slave mode, this signal is an output. EE_SK (I/O, 8 mA) Master Mode: EEPROM data clock. This signal is an output in master mode. It is active during R/W cycle only. Slave Mode: In slave mode, this signal is an input. EE_CS (I/O, 8 mA) Master Mode: EEPROM data chip select. This signal is an output in master mode. Slave Mode: In slave mode this signal is an input. This signal is active High. EE_DI (Input, 100K Pull-Up) Master Mode: EEPROM data in. This signal is an input in master mode. Slave Mode: In slave mode, this signal is an input. EE_MASTER (Input, Schmitt-Triggered, 100K Pull-Up) Master/Slave mode detect: When set Low, no EEPROM is present. When set High EEPROM is present.
*
*
*
*
PS012002-1201
PCMCIA Interface Overview
Z86017/Z16017 PCMCIA Interface Solution Product Specification
25
Peripheral Control Signals
* * *
POR (Input, Schmitt-Triggered, 100K Pull-Up) Local Power-On Reset signal. A 0.1mF capacitor is recommended on this pin to GND to generate a POR. M_PINT (Output, Tri-State, 8 mA) Interrupt to local microprocessor PC_MCLK_IN (Input, Schmitt-Triggered) Master Clock In. This is an input signal. This clock signal is used to generate all internal timing. All local bus signals are asynchronous to this clock. EXTP_STSCHG/RES2 (Input, 100K Pull-Up) Status Change Input. This signal outputs the value of the status changed line on the PCMCIA bus if enabled in the CCR register, or it is an input for bit 7 (RSVDEVT3) in CCR4. EXTP_AUDIO (Input 100K Pull-Up) Audio Input. This input signal reflects the audio output. This signal is active High, and the Speaker output on the PCMCIA bus is active Low. EXTP_PWDN (Output, 8 mA) Power Down Output. This signal reflects the state of the Power Down bit in the CCR. VSS (Input) Ground. VDD (Input) Supply Voltage.
*
*
* * *
PCMCIA Interface Overview
PS012002-1201
Z86017/Z16017 PCMCIA Interface Solution Product Specification
26
PS012002-1201
PCMCIA Interface Overview
Z86017/Z16017 PCMCIA Interface Solution Product Specification
27
Addressing Modes
* * * * *
The ZX6017 supports all PCMCIA Addressing Modes: PCMCIA Common Memory Mode PCMCIA I/O Mode PCMCIA ATA_IDE Mode Pass-through ATA/IDE-to-ATA/IDE Mode
Note: This mode is for users who have a 68-pin PCMCIA connector, but are using ATA/IDE protocol instead of PCMCIA protocol. The overall ZX6017 mode of operation is controlled by the Interface Configuration Register (00h) bits 3,2. 00 in these two bits sets the device to ATA/IDE mode if the PC_ATA/HOE pin is Low on power-up and into PCMCIA mode if the pin is High. The default for this register is 00 and the PC_ATA/HOE pin determines the mode of operation, PCMCIA or ATA/IDE. Table 4 describes these addressing modes.
Table 4. ZX6017 Addressing Modes Mode/Bus Memory I/O PCMCIA_ATA_Memory PCMCIA_ATA_I/O PCMCIA Memory I/O Memory I/O Peripheral Bus Memory I/O ATA Primary ATA Secondary ATA Contiguous ATA ATA/IDE Comments
Contiguous block of at least 16 I/O registers is assigned to one card.
Pass-Through Mode
ATA/IDE
To place the ZX6017 into proper Addressing mode, a set of Configuration Registers and Memory Maps reside on-chip.
Addressing Modes
PS012002-1201
Z86017/Z16017 PCMCIA Interface Solution Product Specification
28
The four on-chip address maps are:
* * * * * *
Memory_Map_1 Memory_Map_2 Memory_Map_3 PCMCIA_ATA/IDE Map
Memory_Map_1, _2 and _3 support PCMCIA Memory/IO Mode. The chip can be configured in PCMCIA Mode either by: Pulling the PC_ATA/HOE pin High during RESET;
or by Writing 10 in Override bits (bits 3, 2) in the Interface Configuration Register 0 (address 00h), and 0 in bits 0, 1, 2, 6 of the Interface Configuration Register 02 (address 03h).
After placing the device into PCMCIA Mode, each Map can be configured independently through its set of configuration registers. Each Memory Map contains a set of Configuration Registers consisting of:
* * * *
Window Control Register Window Start Address LSB Register Window Start/Range Address MSB Window Range Address LSB
The PCMCIA_ATA/IDE Map enables chip operation in PCMCIA_ATA/ IDE mode. When in this mode, the chip responds to different types of accesses, depending on the content of the following registers:
* * *
PS012002-1201
Interface Configuration Register 02, address 03h (bits 0, 1, 6) Interface Configuration Register 03, address 04h (bits 0, 1, 2, 3) PCMCIA Exception Status Register, address 071h (bit 0)
Addressing Modes
Z86017/Z16017 PCMCIA Interface Solution Product Specification
29
Table 5 describes programming PCMCIA_ATA ZX6017 Configuration Registers.
Table 5. Programming PCMCIA_ATA ZX6017 Configuration Registers ICR_2 [1:0] addr03 x ICR_02[6] ICR_03[3:0] CICR_1[7:0] CICR_2[7:0] CCR0[5:0] addr addr03 addr04 addr2DH addr2EH addr0AH 07[0} Description x xxxx xxxxxxxx xxxxxxxx xxxxx 1 Chip operates in ATA/IDEto-ATA/IDE passthrough mode PCMCIA Mode Enabled access to Primary set of IDE Task File Registers (1Fo-1F7) Enabled access to Primary set of IDE Task File Registers (3F6-3F7) Enabled access to Secondary set of IDE Task File Registers
11 11
0 1
xxxx 1111
xxxxxxxx FFH
xxxxxxxx FFH
xxxxx 00011
0 0
11
1
1111
FFH
FFH
00011
0
11
1
1111
FFH
FFH
00010
0
Addressing Modes
PS012002-1201
Z86017/Z16017 PCMCIA Interface Solution Product Specification
30
Table 5. Programming PCMCIA_ATA ZX6017 Configuration Registers (Continued) ICR_2 [1:0] addr03 11 ICR_02[6] ICR_03[3:0] CICR_1[7:0] CICR_2[7:0] CCR0[5:0] addr addr03 addr04 addr2DH addr2EH addr0AH 07[0} Description 1 1111 FFH FFH 00001 0 PCMCIA_AA Independent IO Mode. Chip responds to any 1/0 access in the range 000 to 00Fh PCMCIA Independent Memory Mode. Chip responds to any Memory access in the range 00000Fh
11
1
1111
FFH
FFH
00000
0
Tables 6 through Table 9 provide ZX6017 addressing information in each mode.
Table 6. PCMCIA Common Memory Mode Function Mode Standby Mode Byte Access Word Access Odd-Byte only access REG X H H H H CE2 H H H L L CE1 H L L L H A0 X L H Z X 0E X L L L H WE X H H H L D15-D8 High-Z High-Z High-Z Odd-Byte Odd-Byte D7-D0 High-Z Even-Byte Odd-Byte Even-Byte XX
PS012002-1201
Addressing Modes
Z86017/Z16017 PCMCIA Interface Solution Product Specification
31
Table 7. PCMCIA I/O Mode Function Mode Standby Mode Byte Access Word Access I/O Inhibit Odd-byte only access Byte Access Word Access I/O Inhibit Odd-byte only access REG X H H H H L L L L H L CE2 H H H L X L H H L X L CE1 H L L L X H L L L X H A0 X L H Z X X L H L X X OE X L L L L L H H H H H WE X H H H H H L L L L L D15-D8 High-Z High-Z High-Z Odd-byte High-Z Odd-byte X X Odd-byte X Odd-byte D7-D0 High-Z Even-byte Odd-byte Even-byte High-Z High-Z Even-byte Odd-Byte Even-byte X X
Table 8. PCMCIA_ATA Memory Mapped Access REG# H H H H H H H A10 L L L L L L L A[9:4] X X X X X X X A3 L L L L L L L A2 L L L L H H H A1 L L H H L L H A0 L H L H L H L OE# Read Data Error Sector Count Sector Number Cylinder Low Cylinder High Drive/Head WE# Write Data Feature Sector Count Sector Number Cylinder Low Cylinder High Drive/Head
Addressing Modes
PS012002-1201
Z86017/Z16017 PCMCIA Interface Solution Product Specification
32
Table 8. PCMCIA_ATA Memory Mapped Access REG# H H H H H H H H A10 L L L L L L H H A[9:4] X X X X X X X X A3 L H H H H H X X A2 H L L H H H X X A1 H L L L H H X X A0 H L H H L H L H OE# Status Duplicate Even Read Data Duplicate Odd Read Data Duplicate Error Alt Status Drive Address Even Read Data Odd Read Data WE# Status Duplicate Even Write Data Duplicate Odd Write Data Duplicate Feature Device Control Reserved Even Write Data Odd Write Data
Table 9. PCMCIA_ATA I/O Mapped Access REG# L L L L L L L L L L L L L Primary A[9:0] 1F0H 1F1H 1F2H 1F3H 1F4H 1F5H 1F6H 1F7H - - - 1F6H 3F7H Secondary A[9:0] 170H 171H 172H 173H 174H 175H 176H 177 - - - 376H 377H Contiguous A[3:0] 00H 01H 02H 03H 04H 05H 06H 07H 08H 09H 0DH 0EH 0FH IORD# = L Read Data Error Sector Count Sector Number Cylinder Low Cylinder High Drive/Head Status Duplicate Even Read Data Duplicate Odd Read Data Duplicate Error Alt Status Drive Access IOWR# = L Write Data Feature Sector Count Sector Number Cylinder Low Cylinder High Drive/Head Command Duplicate Even Write Data Duplicate Odd Write Data Duplicate Feature Device Control Reserved
PS012002-1201
Addressing Modes
Z86017/Z16017 PCMCIA Interface Solution Product Specification
33
Programming Internal Registers
INTRODUCTION
As stated in "Addressing Modes" on page 27, the ZX6017 devices feature a set of on-chip programmable registers that can be programmed either by using the on-board EEPROM Sequencer (MASTER Mode) or by Local Microprocessor (SLAVE Mode). A set of Card Configuration Registers can be accessed from the PCMCIA interface. Table 10 lists the programmable registers.
Table 10. EEPROM Address
00h 01h 02h 03h 04h 05h 06h 07h 08h 09h 0Ah 0Bh 0Ch 0Dh 0Eh-0Fh 10h 11h
ZX6017 Card Configuration Registers Register's Name
Interface Configuration Rg 0 Interrupt Enable Rg Interface Configuration Rg 1 Interface Configuration Rg 2 Interface Configuration Rg 3 PCMCIA CCR's Base Rg PCMCIA Interrupt Status Rg PCMCIA Exception Status Rg Attribute RAM Address Rg Attribute RAM Data Rg PCMCIA Configuration Option Rg (CCR0) PCMCIA Card Configuration and Status Rg (CCR1) PCMCIA Pin Replacement Rg (CCR2) PCMCIA Socket and Copy Rg (CCR3) Reserved Window 1 Control Rg Window 1 Start Address LSB Rg
PCMCIA Address
NA NA NA NA NA NA NA NA NA NA XX0h XX2h XX4h XX6h NA NA
Access
R/W R/W R/W R/W R/W R/W R R W R/W R/W R/W R/W R/W R/W R/W
POR Value
00h 00h 00h 00h 00h 00h 00h 00h XX XX 00h 00h 00h 00h XX 01h 00h
Comments
Note1 Note1 Note1 Note1 Note2 Note2 Note2 Note2
Programming Internal Registers
PS012002-1201
Z86017/Z16017 PCMCIA Interface Solution Product Specification
34
Table 10. EEPROM Address
12h 13h 14h 15h 16h 17h 18h 19h 1Ah 1Bh 1Ch-1Dh 1Eh 1Fh 20h 21h 22h 23h 24h 25h 26h 27h
ZX6017 Card Configuration Registers (Continued) Register's Name
Window 1 Start/Range Address MSB Rg Window 1 Range Address LSB Rg Window 2 Control Rg Window 2 Start Address LSB Rg Window 2 Start/Range Address MSB Rg Window 2 Range Address LSB Rg Window 3 Control Rg Window 3 Start Address LSB Rg Window 3 Start/Range Address MSB Rg Window 3 Range Address LSB Rg Reserved EEPROM Valid Flag Byte Rg (1Ch) PCMCIA I/O Event Indication Rg (CCR4) EEPROM Addr/Status Rg (CCR5) Back Door EEPROM Data Rg (CCR6) Back Door EEPROM Command Rg (CCR7) Back Door Revision Control Rg Revision Number Rg Reserved Bus Control Rg 1 IOIS16 Address Control Rg
PCMCIA Address
NA NA NA NA NA NA NA NA NA NA NA XX8h 7F0h 7F2h 7F4h NA 7F6h NA NA
Access
R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R R/W R/W R/W
POR Value
00h 00h 01h 00h 00h 00h 01h 00h 00h 00h XX 00h 00h 00h 00h 00h 00h XX 00h 00h
Comments
Master Mode only Note2, Note3 Note1 Note1 Note1 Note3 Note4 Note5 Note5
PS012002-1201
Programming Internal Registers
Z86017/Z16017 PCMCIA Interface Solution Product Specification
35
Table 10. EEPROM Address
28h 29h 2Ah 2Bh 2Ch 2Dh 2Eh 2Fh 30h-FFh NOTES:
ZX6017 Card Configuration Registers (Continued) Register's Name
ATA/IDE Dual Drive Control Rg Reserved Power Management Timer Count Value Rg Power Management Control Rg Interface Con*guration Rg 4 Con*guration Index Compare Rg 1 Con*guration Index Compare Rg 2 Bus Control Rg 2 User-Definable Attribute Memory Location 00h-CFh (208-byte)
PCMCIA Address
NA NA NA NA NA NA NA
Access
R/W R/W R/W R/W R/W R/W R/W R/W R/W
POR Value
00h 00h 00h 00h 00h 00h 00h 00h XXh
Comments
Note3 Note3 Note3 Note3 Note3 Note3 Note3 Note6
1. When the ZX6017 is in Master Mode, the user should program this location in EEPROM with 00h. 2. The PCMCIA base address for these registers could be set in the range of 000h-400h. At Power-On Reset (POR), the base is set to 000h. 3. User must write the Revision Number (see ZX6017 top mark) to the Revision Control register to unlock these registers. 4. The Z86017 BA Revision Number is 10h (see device top mark). 5. These registers are only available on the Z16017. 6. When the ZX6017 is in Master Mode, data at EEPROM addresses 30h-FFh are written locations 00h-CFh of the on-board Attribute Memory. In Slave Mode, Attribute Memory is programmed through registers 08h and 09h.
Programming Internal Registers
PS012002-1201
Z86017/Z16017 PCMCIA Interface Solution Product Specification
36
EEPROM REGISTER
EEPROM Register Address: SELECT 00h Name: Interface Configuration Register 0 Type: Read/Write
Table 11. Bit Placement
Bits 1-0
Interface Configuration Register: Address 00h Description
Internal Clock Divider. On Power-On Reset, clock divideby-32 selects the Master Clock. On Power-On Reset, set these bits to 0 0. Table 12 describes Master Clock Settings. Bit 1 0 1 1 1 Bit 0 0 1 0 1
Bit Name
Set Internal
Slowest Clock, Clock In divide-by-32 Clock In divide-by-16 Clock In divide-by-4 Clock In
Bits 3-2
EN_OVERIDE
Overrides PCMCIA ATA mode bits, /PC_ATA//HOE selection on the PCMCIA interface. On Power-On Reset, both bits are set to 0. Sample /PC_ATA//HOE. Bit 3 0 0 1 1 Bit 2 0 1 0 1
PC_ATA/HOE Sampled to Set Mode Forces ATA/IDE Pass Through Mode Forces PCMCIA Mode Reserved
PS012002-1201
Programming Internal Registers
Z86017/Z16017 PCMCIA Interface Solution Product Specification
37
Table 11. Bit Placement
Bit 4
Interface Configuration Register: Address 00h (Continued) Description
When this bit is set to 1, the PC_RDY/BSY/REQ/HINT pin is configured as RDY//BSY. To con*gure this pin as an IREQ/HINT, set this bit to 0. On Power-On Reset, the ZX6017 automatically reads the EEPROM and also determines if a PCMCIA device is connected. After the entire attribute memory is loaded and the chip initialization is complete, the READY/BSY signal on the PCMCIA bus indicates READY. Without an EEPROM, the device indicates READY whenever this bit is set and the ZX6017 has determined a PCMCIA bus is connected. Enables PCMCIA Interrupt Mode. Enables ATA_IREQ pin to control PC_IREQ in I/O Mode. This bit is active when set to 1. On Power-On Reset, this bit is set to 0. Enable local (M_PINT) processor interrupt polarity active Low. This bit is active when set to 1. On Power-On Reset, this bit is set to 0. Interrupt is active High. M_PINT is a tristate driven signal. Whenever an interrupt is present and enabled, M_PINT is driven. If the interrupt is programmed active High, then M_PINT is driven from tri-state to High. If the interrupt polarity selects active Low interrupts, then the interrupt is driven from tri-state to active Low. Also see Register 2Ch. When this bit is set to 1, it enables the ATA_PDIAG/ ATA_BHE/RING_IN pin to be used as a Byte High Enable pin on a local interface side. Byte High Enable is used to signify that a PCMCIA host is requesting or sending data on the high byte bus pins ATA_DATA[15-8] of the local bus. For ATA_BHE, also see Register 2Fh. When set to 0, ATA_PDIAG/ATA_BHE/RING_IN is used as a local bidirectional PDIAG pin. On Power-On Reset, this bit is set to 0.
Bit Name
EN_RDY_BSY
Bit 5
EN_CTR_IRQ
Bit 6
EN_INT_POL
Bit 7
EN_ATA_BHE
Programming Internal Registers
PS012002-1201
Z86017/Z16017 PCMCIA Interface Solution Product Specification
38
Table 12. Register 0 Bit 1
0 0 1 1 0 0 1 1 NOTES:
Master Clock EEPROM CLK Timing
6.4 s 3.2 s 800 ns 200 ns 12.8 s 6.4 s 1.6 s 400 ns
Register 0 Bit 9
0 1 0 1 0 1 0 1
Clock In
50 ns 50 ns 50 ns 50 ns 100 ns 100 ns 100 ns 100 ns
Interrupt Pulse1Width
204 s 102 s 25 s 5.25 s 404 s 204 s 50 s 12.5 s
Comments
Recommended
Recommended
1. The pulse width of the /PC.IREQ signal in pulse mode is dependent on the clock period of the master clock input (TPMCKIN). The pulse width of the /PC.IREQ signal is equal to 192 x TPMCKIN.
PS012002-1201
Programming Internal Registers
Z86017/Z16017 PCMCIA Interface Solution Product Specification
39
EEPROM Register Address: SELECT 01h Name: Interrupt Enable Register Type: Read/Write
Table 13. Bit Placement
Bit 0
Interrupt Enable Register: Address 01h Description
Enables Local Processor interrupt when PCMCIA host has written CCR0, the Con*guration Option Register. This interrupt stays present until this bit is set to 0. This bit is active when set to 1. On Power-On Reset, this bit is set to 0. Also see Registers 06h, 2Ch. Enables Local Processor interrupt when PCMCIA host has written CCR1, the Card Status Register. This interrupt stays present until this bit is set to 0. This bit is active when set to 1. On Power-On Reset, this bit is set to 0. Also see Registers 06h, 2Ch. Enables Local Processor interrupt when PCMCIA host has written CCR2, the Pin Replacement Register. This interrupt stays present until this bit is set to 0. This bit is active when set to 1. On Power-On Reset, this bit is set to 0. Also see Registers 06h, 2Ch. Enables Local Processor interrupt when PCMCIA host has written CCR3, the Socket and Copy Register. This interrupt stays present until this bit is set to 0. This bit is active when set to 1. On Power-On Reset, this bit is set to 0. Also see Registers 06h, 2Ch. Enables Local Processor interrupt when ATA_IREQ is asserted. This interrupt stays present until this bit is set to 0. This bit is active when set to 1. On Power-On Reset, this bit is set to 0. Also see Registers 06h, 2Ch. Enables external write protect pin as an input when set to 1. When set to 0, this bit is DASP on the local AT bus side. On Power-On Reset, this bit is set to 0.
Bit Name
EN_PC_INT0
Bit 1
EN_PC_INT1
Bit 2
EN_PC_INT2
Bit 3
EN_PC_INT3
Bit 4
EN_PC_INT4
Bit 5
EN_EXTP_WP
Programming Internal Registers
PS012002-1201
Z86017/Z16017 PCMCIA Interface Solution Product Specification
40
Table 13. Bit Placement
Bit 6
Interrupt Enable Register: Address 01h (Continued) Description
ATA_DASP is used as a DASP pin. Also see Register 02h. Card Con*guration Register 0 is normally written after Power-On Reset by the PCMCIA host. If Interrupts are allowed by the local processor or EEPROM, then the PCMCIA READY/BSY signal is configured as an interrupt signal only when the Card Configuration Register is written. If the local processor does not require the PCMCIA host to write to CCR0, bit CCR0_OVERIDE can be set to force the internal logic to select the PCMCIA READY/BSY as the Interrupt pin, if interrupts are enabled. This bit is active when set to 1. On Power-On Reset, set this bit to 0, no override selected. PCMCIA host must select interrupts and write to the Card Con*guration Register 0. Enable PCMCIA Input acknowledge when set to 1. On Power-On Reset, this bit is set to 0.
Bit Name
CCR0_OVERIDE
Bit 7
EN_INPACK
PS012002-1201
Programming Internal Registers
Z86017/Z16017 PCMCIA Interface Solution Product Specification
41
EEPROM Register Address: SELECT 02h Name: Interface Configuration Register 1 Type: Read/Write
Table 14. Interface Configuration Register 1: Address 02h Bit Name
PDIAG_SET EN_PDIAG
Bit Placement
Bit 0 Bit 1
Description
When set to 1, this bit activates PDIAG on the PCMCIA bus side. On Power-On Reset, this bit is set to 0. When set to 1, this bit drives the PCMCIA pin on the PCMCIA side. On Power-On Reset, this bit is set to 0 (Table 15). Also see Registers 04h, 07h. When set to 1, this bit sets the DASP pin on the PCMCIA side. On Power-On Reset, this bit is set to 0. When set to 1, this bit drives the DASP pin on the PCMCIA side. On Power-On Reset, this bit is set to 0 (Table 16). When set to 1, this bit is active and ATA_HCS0 has the same level as ATA_HCS1. On Power-On Reset, this bit is set to 0 (Table 17). Also see Register 03h (Table 19). When set to 1, this bit is active and connects EXTP_AUDIO (inverted) to the PC_BVD2//SPKR// DASP/DREQ pin. On Power-On Reset, this bit is set to 0 (Table 18). When set to 1, DASP is generated internally. On Power-On Reset, this bit is set to 0. When set to 1, DASP is generated externally from the AT_DASP pin on the local AT bus side. On Power-On Reset, this bit is set to 0. Also see Register 01h (Table 13).
Bit 2 Bit 3
PDASP_SET EN_DASP
Bit 4
EN_OR_CS01
Bit 5
EN_SPKR
Bit 6 Bit 7
EN_DASP_INT EN_DASP_EXT
Programming Internal Registers
PS012002-1201
Z86017/Z16017 PCMCIA Interface Solution Product Specification
42
Table 15. Register2 Bit 1 EN_PDI AG
0 0 1 1 1
PCMCIA PDIAG Pin Functions PCMCI A Register4 Bit 6 ATA_PDI PDIAG OUT EN_PDIAG AG I/O _INT Pin I/O
X 1 1 1 0 X X X X 0 (Input) Float - Z
Register2 Bit 0 PDIAG_S ET
X 1 1 0 0
Register 4 Bit 7 EN_PDIAG _EXT
X 0 0 0 1
Register 7 Bit5,PCM CIA PDIAG Input Comments
Input mode Input mode Output 1 (totem) Output 0 (totem) Output generated from ATAPDIAG. Output floated by ATA-PDIAG when set to 1. ATA_PDIA G is sourced from PCMCIA side.
PDIAGOUT Float - Z PDIAGOUT 1 (Output) 1 0 (Output) 0 0 (Output) 0
1
0
1
0
1 (Input)
Float - Z
PDIAGOUT
0
0
0
1
0 (Output)
0 (Input)
0
0
0
0
1
Float - Z
1 (Input)
1
PS012002-1201
Programming Internal Registers
Z86017/Z16017 PCMCIA Interface Solution Product Specification
43
Table 16.
PCMCIA DASP Pin Functions Register7 PCMCIA DASP Input
PCMCIA DASP Register2 Register2 Register2 Register2 Bit 3 Bit 2 Bit 7 Bit 6 ATA_DASP OUT I/O EN_DASP DASP_SET EN_DASP_EXT EN_DASP_INT Pin I/O
0 0 1 1 1 X 1 1 0 0 X 0 0 0 1 X 1 1 1 0 X X X X 0 (Input) Float - Z Float- Z 1 (Output) 0 (Output) 0 (Output)
Comment
1
0
1
0
1 (Input)
Float- Z
0
0
0
1
0 (Output)
0 (Input)
0
0
0
1
Float - Z
1 (Input)
DASP-OUT Input mode DASP-OUT Input mode 1 Output 1 (totem) 0 Output 0 (totem) 0 Output generated from ATADASP. DASP-OUT Output floated when ATADASP is set to 1. 0 ATA_DASP is sourced from PCMCIA side. 1
Programming Internal Registers
PS012002-1201
Z86017/Z16017 PCMCIA Interface Solution Product Specification
44
Table 17. Register 2 Bit 4 EN_OR_CS01
0 0 1 1 1
Host Chip Select Designations
ATA_HCS0
0 1 0 0 1
ATA_HCS0 Internal HCS1 (External)
X X 0 1 X 0 1 0 1 1
Table 18. Register 2 Bit 5 EN_SPKR
0 1 1 1 0 0
Audio Pin Configurations Register 7 Bit 0 ATA_MODE
0 0 0 0 0 1
EXTP_AUDIO
X 0 1 0 0 0
Register 2 Bit 3 EN_DASP
0 0 0 0 0 x
PC_SPKR/ DASP//DREQ
Float - Z 1 0 AT_DREQ Input AT_DREQ Input DASP mode
PS012002-1201
Programming Internal Registers
Z86017/Z16017 PCMCIA Interface Solution Product Specification
45
EEPROM Register Address: SELECT 03h Name: Interface Configuration Register 2 Type: Read/Write
Table 19. Interface Configuration Register 2: Address 03h Bit Name
EN_MEM_MODE
Bit Placement
Bit 0
Description
Enables PCMCIA memory access mode. This bit controls window0. It is active when set to 1. On Power-On Reset, this bit is set to 0. Enables PCMCIA independent I/O access mode. This bit controls window0. It is active when set to 1. On Power-On Reset, this bit is set to 0. Enables PCMCIA attribute memory access. This bit is active when set to 1. On Power-On Reset, this bit is set to 0. Also see Registers 08h and 09h (Table 28 and Table 29). Inverts the polarity of HCS0 output. HCS0 is active High when this bit is set. HCS0 is active Low when this bit is cleared. This bit is active when set to 1. On Power-On Reset, this bit is set to 0, active Low. Also see Register 02h (Table 14). Inverts the polarity of HCS1 output. HCS1 is active High when this bit is set. HCS1 is active Low when this bit is cleared. This bit is active when set to 1. On Power-On Reset, this bit is set to 0, active Low. Also see Register 02h (Table 14). Inverts the polarity of the ATA_HRESET output. Enables PCMCIA/ATA/IDE access to 1Fx, 3Fx, 17x, 1Fx task Registers. This bit controls window0. This bit is active when set to 1. On Power-On-Reset, this bit is set to 0.
Bit 1
EN_INDP_MODE
Bit 2
EN_ATT_MODE
Bit 3
EN_INVERT_HCS0
Bit 4
EN_INVERT_HCS1
Bit 5 Bit 6
EN_INVERT_ATRST EN_IO_MODE
Bit 7
Reserved
Programming Internal Registers
PS012002-1201
Z86017/Z16017 PCMCIA Interface Solution Product Specification
46
EEPROM Register Address: SELECT 04h Name: Interface Configuration Register 3 Type: Read/Write
Table 20. Bit Placement
Bit 0
Interface Configuration Register 3: Address 04h Description
Enables IDE/PCMCIA access to primary task file addresses 1F<0-7>. This bit is active when set to 1. On Power-On Reset, this bit is set to 0. Enables IDE/PCMCIA access to primary task file addresses 3F<6-7>. Active when set to 1. On Power-On Reset, this bit is set to 0 (Table 21). Enables IDE/PCMCIA access to secondary task file addresses 17<0-7>. Active when set to 1. On Power-On Reset, this bit is set to 0. Enables IDE/PCMCIA access to secondary task file addresses 37<0-7>. Active when set to 1. On Power-On Reset, this bit is set to 0. Switching this bit from Low to High to Low again forces the ZX6017 to check the level on PC_ATA/HOE pin and latch the mode. This bit is active when set to 1. On PowerOn Reset, this bit is set to 0. Disable PCMCIA reset. This bit is active when set to 1. Resets from the PCMCIA bus are not allowed. On PowerOn Reset, this bit is set to 0 (Table 22). When this bit is set to 1, PDIAG is generated internally. On Power-On Reset, this bit is set to 0. Also see Registers 02h and 07h (Table 14 and Table 26). When this bit is set to 1, PDIAG is generated externally through the AT_PDIAG pin on the local AT side. On Power-On Reset, this bit is set to 0. Also see Registers 02h and 07h (Table 14 and Table 26).
Bit Name
SEL_PRIMARY_1x
Bit 1
SEL_PRINARY_3x
Bit 2
SEL_SECOND_1x
Bit 3
SEL_SECOND_3x
Bit 4
STR_RST
Bit 5
EN_DIS_RST
Bit 6
EN_PDIAG_INT
Bit 7
EN_PDIAG_EXT
PS012002-1201
Programming Internal Registers
Z86017/Z16017 PCMCIA Interface Solution Product Specification
47
Table 21. Register 4 Bit 3 SEL_SECO ND_3x
X 0 0 0 0 1
ATA Register Selection Designations Register 4 Bit 1 SEL_PRIMA RY_3x
X 0 0 1 0 0
Register 4 Bit 2 SEL_SECO ND_1x
X 0 0 0 1 1
Register 4 Bit 0 SEL_PRIMA RY_1x
X 0 1 1 0 0
Register 3 Bit 6 EN_IO_M ODE
0 1 1 1 1 1
Address Range Respons e Note
XX XX 1F0-1F7 Disabled Disabled Primary HDD 1F0-1F7, Primary 3F6, 3F7 HDD 170-177 Secondary HDD 170- 177, Two drive 376, 377 system on local 170- 177, AT bus 376, 377, side 1F0-1F7 3F6, 3F7
1
1
1
1
Table 22. Register 4 Bit 5 EN_DIS_RST
1 0 0 0 0
Reset Conditions Register 7 Bit 0 ATA_MODE
X 0 0 1 1
PC_HRESET
X 0 1 1 0
ATA_HRESET
1 1 0 1 0
Notes:
PCMCIA Mode, Reset Disabled PCMCIA Mode, No Reset PCMCIA Mode, Asserted Reset ATA Mode, No Reset. ATA Mode, Asserted Reset.
Programming Internal Registers
PS012002-1201
Z86017/Z16017 PCMCIA Interface Solution Product Specification
48
EEPROM Register Address: SELECT 05h Name: BCMCIA CCR Base Address Register Type: Read/Write
Table 23. PCMCIA CCR Base Address Register: Address 05h Bit Name
EN_CRR_A4
Bit Placement
Bit 0
Description
Enables address bit 4 to be compared as High on PCMCIA when the PCMCIA Con*guration Register's base address is accessed. On Power-On Reset, this bit is set to 0. Enables address bit 5 to be compared as High on PCMCIA when the PCMCIA Con*guration Register's base address is accessed. On Power-On Reset, this bit is set to 0. Enables address bit 6 to be compared as High on PCMCIA when the PCMCIA Con*guration Register's base address is accessed. On Power-On Reset, this bit is set to 0. Enables address bit 7 to be compared as High on PCMCIA when the PCMCIA Con*guration Register's base address is accessed. On Power-On Reset, this bit is set to 0. Enables address bit 8 to be compared as High on PCMCIA when the PCMCIA Con*guration Register's base address is accessed. On Power-On Reset, this bit is set to 0. Enables address bit 9 to be compared as High on PCMCIA when the PCMCIA Con*guration Register's base address is accessed. On Power-On Reset, this bit is set to 0. Enables address bit 10 to be compared as High on PCMCIA when the PCMCIA Con*guration Register's base address is accessed. On Power-On Reset, this bit is set to 0. Disables PCMCIA host and allows access to the PCMCIA Con*guration Register's base address. This bit is active when set to 1. On Power-On Reset, this bit is set to 0.
Bit 1
EN_CRR_A5
Bit 2
EN_CRR_A6
Bit 3
EN_CRR_A7
Bit 4
EN_CRR_A8
Bit 5
EN_CRR_A9
Bit 6
EN_CRR_A10
Bit 7
DIS_CRR_MODE
PS012002-1201
Programming Internal Registers
Z86017/Z16017 PCMCIA Interface Solution Product Specification
49
Table 24. Bit 7
EN 1 0 0 0 0
CCR Location Examples, Register 5 Bit 4
A8 X 0 0 0 0
Bit 6
A10 X 0 0 0 1
Bit 5
A9 X 0 0 1 0
Bit 3
A7 X 0 0 0 0
Bit 2
A6 X 0 0 0 0
Bit 1
A5 X 0 0 0 0
Bit 0
A4 X 0 1 0 0
CCR Base
Address None 0000hx 0010hx 0200hx 0400hx
Programming Internal Registers
PS012002-1201
Z86017/Z16017 PCMCIA Interface Solution Product Specification
50
EEPROM Register Address: SELECT 06h Name: PCMCIA Interrupt Status Register Type: Read
Table 25. PCMCIA Interrupt Status Register: Address 06h Bit Name
PC_INT0
Bit Placement
Bit 0
Description
PCMCIA host write to CCR0, the Configuration Option Register has occurred. This bit is active when set to 1. Also see Register 01h (Table 13). PCMCIA host write to CCR1, the Card Configuration and Status Register has occurred. This bit is active when set to 1. Also see Register 01h (Table 13). PCMCIA host write to CCR2, the Pin Replacement Register has occurred. This bit is active when set to 1. Also see Register 01h (Table 13). PCMCIA host write to CCR3, the Socket and Copy Register has occurred. This bit is active when set to 1. Also see Register 01h (Table 13). External ATA_IREQ interrupt has occurred. This bit is active when set to 1. Also see Register 01h (Table 13). PCMCIA host write to CCR4, an I/O Event Indication Register has occurred. This bit is active when set to 1. Set this bit to 1 after writing the revision number (see device top mark) to the revision control Register.
Bit 1
PC_INT1
Bit 2
PC_INT2
Bit 3
PC_INT3
Bit 4 Bit 5 Bit 6 Bit 7
PC_INT4 PC_INT5 REV_BA Reserved
PS012002-1201
Programming Internal Registers
Z86017/Z16017 PCMCIA Interface Solution Product Specification
51
EEPROM Register Address: SELECT 07h Name: PCMCIA Exception Status Register Type: Read
Table 26. PCMCIA Exception Status Register: Address 07h Bit Name
ATA/IDE_MODE
Bit Placement
Bit 0
Description
When bit 7 of this register is set to 1, ATA mode has been selected by sampling the /PC_ATA//HOE signal on PowerOn-Reset, or the override bits in Register 0 have set the ZX6017 to run in ATA/IDE mode. When set to 0, this bit indicates that the ZX6017 operates in PCMCIA mode (Table 27). PCMCIA reset status. Active when set to 1.
Bit 1 Bit 2 Bit 3 Bit 4 Bit 5 Bit 6 Bit 7
PCRST Reserved Reserved Reserved PDIAG DASP ATA_SAMPLED
PDIAG is present. This bit is active when set to 1. DASP is present. Drive Active/Slave Present. This bit is active when set When set to 1, this bit indicates that bit 0 of this register is valid to read.
Programming Internal Registers
PS012002-1201
Z86017/Z16017 PCMCIA Interface Solution Product Specification
52
Table 27.
ATA Sample Mode Bit
Register 7 Register 7 Bit 7 Bit 0 ATA_SAMPLED ATA_MODE
0 1 1 X 0 1
Comments
Not ready PCMCIA Addressing Mode ATA/IDE Addressing Mode
EEPROM Register Address: SELECT 08h Name: Attribute Memory Address Register Type: Write
Table 28. Attribute Memory Address Register: Address 08h Bit Name
Attribute Memory Address
Bit Placement
Bits 7-0
Description
After each access to the attribute RAM data register, the address is automatically incremented. Also see Register 03h.
PS012002-1201
Programming Internal Registers
Z86017/Z16017 PCMCIA Interface Solution Product Specification
53
EEPROM Register Address: SELECT 09h Name: Attribute Memory Data Register Type: Write/Read
Table 29. Attribute Memory Data Register: Address 09h Bit Name
Attribute Memory Data
Bit Placement
Bits 7-0
Description
The data read and written from this register is associated with the attribute memory location pointed to by the attribute RAM data address register. After each data write or read into this location, the address is automatically incremented by one. Also see Register 03h (Table 19).
Programming Internal Registers
PS012002-1201
Z86017/Z16017 PCMCIA Interface Solution Product Specification
54
EEPROM Register Address: SELECT 10h Name: Window 1 Control Register Type: Write/Read
Table 30. Window 1 Control Register: Address 10h Bit Name
DIS_PAC1 EN_PAC1_MEM EN_PAC1_16
Bit Placement
Bit 0 Bit 1 Bit 2
Description
When this bit is set to 1, the Port 1 Address Control and decoder are disabled. When this bit is set to 1, Memory Mode decoder is enabled. When cleared, I/O mode is enabled. When this bit is set, data swapping is provided internal to the chip during data reads from the low byte of the ATA bus to the PCMCIA bus high byte, and from the high byte of the PCMCIA bus to the low byte of the ATA bus during data writes. When cleared, it is high byte to high byte and low byte to low byte. Allows two cards at the same address to be read. When this bit is set, it prevents the PCMCIA bus from going active. When this bit is set, use address compare logic; when it is cleared, acknowledge all PCMCIA chip selects. When this bit is set, HCS1 is used as an external chip select. When this bit is cleared, HCS0 is used as an external chip select. Also see Registers 02h and 03h (Table 14 and Table 19). Number of wait states (in Master Clock periods) inserted on the PCMCIA bus. 00 = 0xTpmclkin (no wait states) 01 = 3x Tpmclkin 10 = 5x Tpmclkin 11 = 7x Tpmclkin
Bit 3 Bit 4 Bit 5
READ_PROTECT EN_PAC1_ADDR_COMP EN_PAC1_HCS
Bits 7-6
PS012002-1201
Programming Internal Registers
Z86017/Z16017 PCMCIA Interface Solution Product Specification
55
EEPROM Register Address: SELECT 11h Name: Window 1 Start Address LSB Type: Write/Read
Table 31. Window 1 Start Address LSB: Address 11h Bit Name Description
LSB starting address for Port 1.
Bit Placement
Bits 7-0
EEPROM Register Address: SELECT 12h Name: Window 1 Start/Range Address MSB Type: Write/Read
Table 32. Window 1 Start/Range Address MSB: Address 12h Bit Name Description
Bits 8, 9, and 10 of the starting address range of Port 1. EN_WRITE_PROTECT When this bit is set, the RWPROT bit in the pin replacement register is used to inhibit writing to the external peripherals. When these bits are cleared, PROT is ignored. Bits 8, 9, and 10 of the starting address range of Port 1. EN_DMA_ACK When this bit is set, ATA_DMA_ACKNOWLEDGE is set when the address space is accessed, and Speaker Out on the PCMCIA interface is used as DREQ.
Bit Placement
Bits 2-0 Bit 3
Bits 6-4 Bit 7
Programming Internal Registers
PS012002-1201
Z86017/Z16017 PCMCIA Interface Solution Product Specification
56
EEPROM Register Address: SELECT 13h Name: Window 1 Range Address LSB Type: Write/Read
Table 33. Window 1 Range Address LSB: Address 13h Bit Name Description
LSB range Address for Port 1
Bit Placement
Bits 7-0
EEPROM Register Address: SELECT 14h Name: Window 2 Control Register Type: Write/Read
Table 34. Window 2 Control Register: Address 14h Bit Name
DIS_PAC2 EN_PAC2_MEM
Bit Placement
Bit 0 Bit 1
Description
When this bit is set to 1, it disables Port 2 address control and decoder. When this bit is set to 1, Memory Mode decoder is enabled. When it is cleared, the I/O Mode decoder is enabled. When this bit is set, data swapping is provided internal to the chip during data reads from the low byte of the ATA bus to the PCMCIA bus high byte, and from the high byte of the PCMCIA bus to the low byte of the ATA bus during data writes. When this bit is cleared, it is high byte to high byte and low byte to low byte. Allows two cards at the same address to be read from. When this bit is set, it prevents the PCMCIA bus from becoming active.
Bit 2
EN_PAC2_16
Bit 3
READ_PROTECT
PS012002-1201
Programming Internal Registers
Z86017/Z16017 PCMCIA Interface Solution Product Specification
57
Table 34.
Window 2 Control Register: Address 14h (Continued) Bit Name
EN_PAC2_ADDR_COMP EN_PAC2_HCS
Bit Placement
Bit 4 Bit 5
Description
When this bit is set, use address compare logic, when it is cleared, acknowledge all PCMCIA chip selects. When this bit is set, HCS1 is used as an external chip select; when it is cleared, HCS0 is used as an external chip select. Also see Registers 02h and 03h. Number of wait states (in Master Clock period) inserted on the
Bits 7-6
EEPROM Register Address: SELECT 15h Name: Window 2 Start Address LSB Type: Write/Read
Table 35. Window 2 Start Address LSB: Address 15h Bit Name Description
LSB starting address for Port 2.
Bit Placement
Bits 7-0
Programming Internal Registers
PS012002-1201
Z86017/Z16017 PCMCIA Interface Solution Product Specification
58
EEPROM Register Address: SELECT 16h Name: Window 2 Start/Range Address MSB Type: Write/Read
Table 36. Window 2 Start/Range Address MSB: Address 16h Bit Name Description
Bits 8, 9, and 10 of the starting address range of Port 2. EN_WRITE_PROTECT When this bit is set, the RWPROT bit in the pin replacement register is used to inhibit writing to the external peripherals. When it is cleared, PROT is ignored. Bits 8, 9, and 10 of the starting address range of Port 2.
Bit Placement
Bits 2-0 Bit 3
Bits 6-4 Bit 7 EN_DMA_ACK When this bit is set, ATA_DMA_ACKNOWLEDGE is set when the address space is accessed, and Speaker Out on the PCMCIA interface is used as DREQ.
EEPROM Register Address: SELECT 17h Name: Window 2 Range Address LSB Type: Write/Read
Table 37. Window 2 Range Address LSB: Address 17h Bit Name Description
LSB range address for Port 2.
Bit Placement
Bits 7-0
PS012002-1201
Programming Internal Registers
Z86017/Z16017 PCMCIA Interface Solution Product Specification
59
EEPROM Register Address: SELECT 18h Name: Window 3 Control Register Type: Write/Read
Table 38. Window 3 Control Register: Address 18h Bit Name
DIS_PAC3 EN_PAC3_MEM EN_PAC3_16+
Bit Placement
Bit 0 Bit 1 Bit 2
Description
When set to 1, this bit disables Port 3 address control and decoder. When this bit is set to 1, Memory mode decoder is enabled. When it is cleared, I/O mode decoder is enabled. When this bit is set, data swapping is provided internal to the chip during data reads from the low byte of the ATA bus to the PCMCIA bus high byte, and from the high byte of the PCMCIA bus to the low byte of the ATA bus during data writes. When this bit is cleared, it is high byte to high byte and low byte to low byte. This bit allows two cards to be read from the same address. When this bit is set, it prevents the PCMCIA bus from becoming active. When this bit is set, use address compare logic; when it is cleared, acknowledge all PCMCIA chip selects. When this bit is set, HCS1 is used as an external chip select; when it is cleared, HCS0 is used as an external chip select. Number of wait states (in Master Clock periods) inserted on the PCMCIA bus.
Bit 3
READ_PROTECT
Bit 4 Bit 5
EN_PAC3_ADDR_COMP EN_PAC3_HCS
Bits 7-6
Programming Internal Registers
PS012002-1201
Z86017/Z16017 PCMCIA Interface Solution Product Specification
60
EEPROM Register Address: SELECT 19h Name: Window 3 Start Address LSB Type: Write/Read
Table 39. Window 3 Start Address LSB: Address 19h Bit Name Description
LSB starting Address for Port 3.
Bit Placement
Bits 7-0
EEPROM Register Address: SELECT 1Ah Name: Window 3 Start/Range Address MSB Type: Write/Read
Table 40. Window 3 Start/Range Address MSB: Address 1Ah Bit Name Description
Bits 8, 9, and 10 of the starting address range of Port 3. EN_WRITE_PROTECT When this bit is set, the RWPROT bit in the pin replacement register is used to inhibit writing to the external peripherals. When this bit is cleared, PROT is ignored. Bits 8, 9, and 10 of the starting address range of Port 3. EN_DMA_ACK When this bit is set, ATA_DMA_Acknowledge is set when the address space is accessed, and Speaker Out on the PCMCIA interface is used as DREQ.
Bit Placement
Bits 2-0 Bit 3
Bits 6-4 Bit 7
PS012002-1201
Programming Internal Registers
Z86017/Z16017 PCMCIA Interface Solution Product Specification
61
EEPROM Register Address: SELECT 1Bh Name: Window 3 Range Address LSB Type: Write/Read
Table 41. Window 3 Range Address LSB: Address 1Bh Bit Name Description
LSB range address for Port 3.
Bit Placement
Bits 7-0
EEPROM Register Address: SELECT 1Eh Name: EEPROM Valid Flag Byte Register Type: Read
Table 42. EEPROM Valid flag Byte Register: Address 1Eh Bit Name
Flag Byte
Bit Placement
Bits 7-0
Description
Read-Only Register used by the internal EEPROM Sequencer to determine if the contents of the EEPROM are valid. The valid Flag value is 1Ch.
EEPROM Register Address: SELECT 20h Name: EEPROM Address/Status CCR5 Back Door Type: Write/Read
Table 43. EEPROM Address/Status CCR5 Back Door: Address 20h Bit Name
Address/Status Bits
Bit Placement
Bits 7-0
Description
EEPROM address/status data.
Programming Internal Registers
PS012002-1201
Z86017/Z16017 PCMCIA Interface Solution Product Specification
62
EEPROM Register Address: SELECT 21h Name: EEPROM Data CCR6 Back Door Type: Write/Read
Table 44. EEPROM Data CCR6 Back Door: Address 21h Bit Name
Data Bits
Bit Placement
Bits 7-0
Description
EEPROM data.
EEPROM Register Address: SELECT 22h Name: EEPROM Command CCR7 Back Door Type: Write/Read
Table 45. EEPROM Command CCR7 Back Door: Address 22h Bit Name
Command Bits
Bit Placement
Bits 7-0
Description
Command value.
PS012002-1201
Programming Internal Registers
Z86017/Z16017 PCMCIA Interface Solution Product Specification
63
EEPROM Register Address: SELECT 23h Name: Revision Control Register Type: Read/Write
Table 46. Revision Control Register: Address 23h Bit Name
REV_MINOR
Bit Placement
Bit 3-0
Description
The lower four bits determine the minor revision number. This nibble must be written with the value read back from the lower nibble in Read-Only Register 24h to enable the minor revision functions. The upper four bits determine the major revision number. This nibble must be written with the value read back from the upper nibble in Read-Only Register 24h to enable the major revision functions.
Bit 7-4
REV_MAJOR
EEPROM Register Address: SELECT 24h Name: Revision Number Register Type: Read
Table 47. Revision Number Register: Address 24h Bit Name
REV_NUM_MINOR REV_NUM_MAJOR
Bit Placement
Bit 3-0 Bit 7-4
Description
This is the Read-Only minor revision number of the chip. This is the Read-Only major revision number of the chip.
Programming Internal Registers
PS012002-1201
Z86017/Z16017 PCMCIA Interface Solution Product Specification
64
EEPROM Register Address: SELECT 26h Name: Bus Control 1 Register Type: Read/Write Reset: 00h
Table 48. Bus Control 1 Register: Address 26h Bit Name
DISABLE_CLK
Bit Placement
Bit 0
Description
When this bit is set to 1, it turns off the PC_MCLK_IN pad. When it is cleared, it enables the PC_MCLK_IN pad. This bit is automatically cleared when in MASTER mode and at any access to the EEPROM command Register 7F4h as seen through the PCMCIA interface. When this bit is set to 1, it enables the IOIS16 signal to be generated internally (see Register 27, IOIS16 Address Control Register, Table 49). When it is cleared, the source for IOIS16 will be the ATA_IOIS16 input. PCMCIA 8- to 16-bit control enable (see Table 51).
Bit 1
EN_IOIS_IN
Bit 3-2
8-Bit_CNTRL
PS012002-1201
Programming Internal Registers
Z86017/Z16017 PCMCIA Interface Solution Product Specification
65
Table 48.
Bus Control 1 Register: Address 26h (Continued) Bit Name
EN_RW_LONG
Bit Placement
Bit 4
Description
Set this bit to 1 to enable the read/write long function when using the 8-bit to 16-bit mode or internal IOCS16 generation in ATA/IDE pass-through mode. PCMICA 8-Bit to 16-Bit Access After 512 bytes are transferred, each PC_IOR/IOW strobe to the data register will generate a ATA_IOR/IOW strobe on the ATA/IDE bus. 8-bit to 16-bit accesses of the data register will be continued after any write access to a task file register other than the data register. ATA/IDE PASSTHROUGH mode. When set in ATA/IDE PASSTHROUGH mode after 256 word accesses of the data register, the //IOCS16 signal on the host interface deasserts until the next data transfer phase. The internal IOCS16 function must also be enabled. (EN_IOIS_IN=1) and the IOIS16 ADDR register set to 01 pointing to the ATA/IDE task file data Register 1F0, 170. Clearing this bit disables the read/write long function. IOIS16 source select (see Table 49) When set to 1, this bit enables the PC_BVD1/STSCHG/ PDIAG and PC_BVD2/SPKR/DASP/DREQ functions. When cleared, it sets both PC_BVD1/STSCHG/PDIAG and PC_BVD2/SPKR/DASP /DREQ pins High when in PCMCIA ATA/IDE memory mode. At Power-On Reset, set to 0.
Bit 6-5 Bit 7
IOIS16_CTRL BVD_CTRL
Note: Registers 26h and 27h are only available on the Z16017 device.
Programming Internal Registers
PS012002-1201
Z86017/Z16017 PCMCIA Interface Solution Product Specification
66
EEPROM Register Address: SELECT 27h Name: IOIS16 Address Control Register Type: Read/Write Reset: 00h The contents of this register determine which on-Host address IOIS16 is generated, but only when bit 1 of Register 26h is set to 1.
Table 49. Register Content Bit <7-0>
10000000 (80h) 01000000 (40h) 00100000 (20h) 00010000 (10h) 00001000 (08h) 00000100 (04h) 00000010 (02h) 00000001 (01h) NOTES:
1. For IOIS16 to be generated on any even address, the register must contain 1 in all positions.
IOIS16 Address Control Register: Address 27h
Host Address PC_HA <3-0>
1110 (Eh) 1100 (Ch) 1010 (Ah) 1000 (8h) 0110 (6h) 0100 (4h) 0010 (2h) 0000 (0h)
PC_WP/IOIS16/IOIS16
0 0 0 0 0 0 0 0
Comments
Must use this address to generate IOIS16.1
PS012002-1201
Programming Internal Registers
Z86017/Z16017 PCMCIA Interface Solution Product Specification
67
Table 50. Bit 6
0 1 1
16-Bit_Control Bit 5
0 0 1
Description
IOIS16 is being generated internally. IOIS8 is the source for the IOIS16 in PCMCIA I/O Mode.1 IOIS16 is always High in PCMCIA I/O Mode
Note: IOIS8 is bit 5 in CCR1 Card Configuration and Status Register. NOTES:
1.
Table 51. Bit 3
0 0 1 1 NOTES:
8-Bit _CTRL Bit 2
0 1 0 1 IOIS8 controls PCMCIA_8 to ATA_16 Mode.1 Forces the ZX6017 into PCMCIA_8 to ATA_16 Mode.
Description
PCMCIA_8 to ATA_16 Mode is disabled.
1. IOIS8 is bit 5 in CCR1 Card Configuration and Status Register.
Programming Internal Registers
PS012002-1201
Z86017/Z16017 PCMCIA Interface Solution Product Specification
68
EEPROM Register Address: SELECT 28h Name: ATA/IDE Dual Drive Control Type: Read/Write
Bit Placement
Bit 0
Bit Name
M_S_enable
Description
This bit enables the Master/Slave mode control. When this bit is set to 1, the Master/Slave function is enabled. When it is set to 0, this function is disabled. When programmed, this bit determines when to drive the ATA/IDE bus. When set to 1, the ZX6017 drives the ATA bus when the host writes a 1 into Bit 4 of the "Drive/Head" task file register. Both primary and secondary addresses are compared. If this bit is set to 0, then the ZX6017 drives the bus if the host writes a 0 into Bit 4 of the "Drive/Head" task fie register.1 Unused
Bit 1
Drive_select
Bit 7-2 NOTES:
Reserved
1. Read Back Values: Z86017 00010000b = 10h Z16017 00100000b = 20h
EEPROM Register Address: SELECT 2Ah Name: Power Management Timer Count Value Type: Read/Write
Table 52. Bit Placement
Bit 7-0
Power Management Timer Count Value: Address 2Ah Description
Power management timer count value. The timer reset during all PCMCIA activity. When the timer expires, it powers down all noncritical signals. TIMER intervals (sec.) = PC_MCLK (sec.) * 2(27) * timer_val. For example: PC_MCLK (20 MHz, 50 ns) * 2(27) * 1 = 6.67 sec. Also see Register 2Ch (Table 56).
Bit Name
TIMER_VAL
PS012002-1201
Programming Internal Registers
Z86017/Z16017 PCMCIA Interface Solution Product Specification
69
EEPROM Register Address: SELECT 2Bh Name: Power Management Control Register Type: Read/Write
Table 53. Bit Placement
Bit 0 Bit 1 Bit 2
Power Management control Register: Address 2Bh Description
When set to 1, this bit enables the 8-bit mode on the local interface. When cleared, it enables the 16-bit interface. When set to 1, this bit enables the alternate modem functions/pins. When cleared, it disables modem functions. When this bit is set to 1, all internal clocks are disabled after loading from the serial EEPROM. When this bit is cleared, all clocks are enabled. When this bit is set to 1, the PCMCIA external pads are powered-down, unless PCMCIA(*) PC_HCE1 and PC_HCE2 are active. When this bit is cleared, all external pads are enabled. When this bit is set to 1, the power management timer is enabled. The timer value is contained in Register 2A. When this bit is cleared, the power management timer is held reset and disabled. When this bit is set to 1, the ZX6017 sets BUSY on the PCMCIA interface when the host sets the power down bit in CCR1. When this bit is set to 1, the power management timer activates the external power down signal EXTP_PWND. When this bit is cleared, the external signal is not be activated. See also Register 0Bh (Table 67). When this bit is set to 1, the external power down signal EXTP_PWND is active Low. When this bit is cleared, EXTP_PWND is active High.
Bit Name
EN_8BIT_MODE EN_MODEM_ALT EN_CLK
Bit 3
EN_PADS1
Bit 4
EN_TIMER
Bit 5
EN_PM_RDY
Bit 6
EN_EXT_PD
Bit 7
EN_EXPD_POL
NOTES:
1. When the En_Pads bit is set, access to the CCR Registers is disabled.
Programming Internal Registers
PS012002-1201
Z86017/Z16017 PCMCIA Interface Solution Product Specification
70
EEPROM Register Address: SELECT 2Ch Name: Interface Configuration Register 4 Type: Read/Write
Table 54. Bit Placement
Bit 2-0
Interface Configuration Register 4: Address 2Ch Description
These power management clock select bits can be used to provide delay times in a number of different scales. Table 55 describes the different delay scale settings. Also see Register 2Ah (Table 53). This bit allows the ZX6017 to poll the Busy status bit in the local controller task file. When enabled in PCMCIA ATA I/O mode, the Busy status bit in the local controllers task file latches into the pin replacement register. In PCMCIA ATA Memory mode, the Busy status bit is placed on the Ready/Busy signal. Set this bit to 1 to enable auto polling. When this bit is cleared, auto polling is disabled. On Power-On Reset, it is set to 0. This is a Global Interrupt Enable for the M-PINT pin. When set to 1, this bit enables the local P interrupts. When cleared, it disables the local P interrupt. On PowerOn Reset, it is set to 0. This bit enables the local Processor interrupt when the PCMCIA host has written the I/O event indication Register CCR4. This interrupt source stays present until this bit is set to 0. When set to 1, this bit is active. On Power-On Reset, it is set to 0. When set to 1, this bit enables the two BVD inputs to be reflected either in Pin Replacement Register or on the corresponding pins of the ZX6017. On Power-On Reset, it is set to 0. See also Register 0Ch (Table 66).
Bit Name
TSTCLK
Bit 3
EN_POLL_BSY
Bit 4
EN_GLOB_INT
Bit 5
EN_PC_INT5
Bit 6
EN_BVD_INPUTS
PS012002-1201
Programming Internal Registers
Z86017/Z16017 PCMCIA Interface Solution Product Specification
71
Table 54. Bit Placement
Bit 7
Interface Configuration Register 4: Address 2Ch (Continued) Description
When set, this bit enables auto busy status when the host sets reset. The busy status remains present until the internal time-out or when using a P and the P clears the busy status. When cleared, this bit disables auto busy on host resets. The pulse time for busy is 2(15)/PC_MCLK (MHz) = SEL.
Bit Name
EN_PULSE
Table 55.
Power Management Clock Select Input Clock PC_MCLK @ 20 MHz
@ 20 MHz
Timer/Count Bit 2 Bit 1 Bit 0 6.7 sec./count
0 0 0 1 1 1 0 1 1 0 0 1 1 0 1 0 1 0 6.4 sec./count Disable counter 12.8 sec./count 100 nsec./count 6.4 sec./count 6.4 sec./count
@ 20 MHz @ 20 MHz @ 20 MHz @ 20 MHz
Programming Internal Registers
PS012002-1201
Z86017/Z16017 PCMCIA Interface Solution Product Specification
72
EEPROM Register Address: SELECT 2Dh Name: Configuration Index Compare Register 1 Type: Read/Write
Table 56. Bit Placement
Bit 2-0 Bit 3 Bit 6-4 Bit 7
Configuration Index Compare Register 1: Address 2Dh Description
These bits are the configuration index for I/O secondary select. When set to 1, this bit enables the configuration index I/O secondary select; when cleared, it is disabled. These bits are the configuration index for I/O primary select. When set to 1, this bit enables the configuration index I/O primary select; when cleared, it is disabled.
Bit Name
IO_SEL_SEC EN_ IO_SEL_SEC IO_SEL_PRI EN_IO_SEL_PRI
EEPROM Register Address: :SELECT 2Eh Name: Configuration Index Compare Register 2 Type: Read/Write
Table 57. Bit Placement
Bit 2-0 Bit 3 Bit 6-4 Bit 7
Configuration Index Compare Register 2: Address 2Eh
Bit Name
MEM_INDX EN_MEM_INDX IO_INDP_INDX EN_IO_INDP_INDX
Description
These bits are the configuration index for memory select. When set to 1, this bit enables configuration index memory select; when cleared, it is disabled. These bits are the configuration index for I/O independent select. When set to 1, this bit enables configuration index independent select; when cleared, it is disabled.
PS012002-1201
Programming Internal Registers
Z86017/Z16017 PCMCIA Interface Solution Product Specification
73
EN_IO_MODE bit 6 in Register 03h and Primary/Secondary enables in Register 04h bits 3, 2, 1, and 0 are globally enabled based on the values written into Register 2D and the Host writing into the configuration index bits in CCR0. EN_MEM_MODE bit 0 and the EN_INDP_MODE bit 1 in Register 03h are globally enabled based on the values written into Register 2Eh and the Host writing into the configuration index bits in CCR0.
Programming Internal Registers
PS012002-1201
Z86017/Z16017 PCMCIA Interface Solution Product Specification
74
EEPROM Register Address: SELECT 2Fh Name: Bus Control Type: Read/Write
Table 58. Bit Placement
Bit 0
Bus Control Register: Address 2Fh Description
When this bit is cleared, it enables the polarity of the ATA_BHE output to be active High. When it is set, it enables the polarity to be active Low. At Power-On Reset, this bit defaults to clear. Also see Register 00h (Table 11). When this bit is set, it enables word-to-byte access when in memory mode. This mode allows a 16-bit host to access 8bit peripherals. When cleared, this bit disables word-tobyte access mode. When set, this bit enables the ZX6017 to generate two peripheral write or read strobes on the local peripheral side when the host writes or reads 16 bits of data. This mode allows a 16-bit host to read/write to 8-bit peripheral device registers with one 16-bit access. When this mode is enabled, and the ZX6017 is in memory mode, the host gains access to the peripheral's 8-bit registers by selecting an even address usingPC_HCE1. The ZX6017 asserts the PC_WAIT pin, which allows the write or read strobe to the peripheral device to be controlled through the "DUECE_WIDTH" and "DUECE_ACCESS_DLY" bits in the Bus control Register 2Fh and the externals peripherals IOCHRDY signal if present (Figure 10). Figure 11 depicts the PCMCIA to local peripheral data path information. When set, this bit indicates that PCMCIA host address lines A3, A2 and A1 are mapped to the local interface address lines A2, A1 and A0. When cleared, PCMCIA address lines A2, A1 and A0 are mapped to local interface A2, A1 and A0.
Bit Name
EN_BHE_POL
Bit 1
EN_16_DUECE
Bit 2
EN_DIV_ADDR
PS012002-1201
Programming Internal Registers
Z86017/Z16017 PCMCIA Interface Solution Product Specification
75
Table 58. Bit Placement
Bit 3
Bus Control Register: Address 2Fh (Continued) Description
When this bit is set, all memory accesses are mapped to ATA_HIOR and ATA_HIOW. When it is cleared, all memory accesses are mapped to ATA_MRD and ATA_MWR. These bits set the ATA_HIOR/HIOW strobe width and are clocked by PC_MCLK_IN /2. At Power-On Reset, they default to 00. These bits set the ATA_HIOR/HIOW access delay and are clocked by PC_MCLK_IN /2. At Power-On Reset, they default to 00.
Bit Name
EN_MAP_IO_MEM
Bit 5-4
DUECE_WIDTH
Bit 7-6
DUECE_ACCESS_DLY
The ATA_HIOR/HIOW strobe width is three cycles minimum (PC_MCLK_IN /2), plus IOCHRDY time (if any), plus width count programmed in bits 5, 4 (Table 59).
Strobe Width and Access Delay1 Bits Width
0 1 2 3 0 1 2 3
Table 59. Bits 7
0 0 0 0 0 0 0 0
6
0 0 0 0 1 1 1 1
5
0 0 1 1 0 0 1 1
4
0 1 0 1 0 1 0 1
Delay
0 0 0 0 1 1 1 1
7
1 1 1 1 1 1 1 1
6
0 0 0 0 1 1 1 1
5
0 0 1 1 0 0 1 1
4
0 1 0 1 0 1 0 1
Delay
2 2 2 2 3 3 3 3
Width
0 1 2 3 0 1 2 3
NOTES:
1. Each count equals PC_MCLK_IN /2.
Programming Internal Registers
PS012002-1201
Z86017/Z16017 PCMCIA Interface Solution Product Specification
76
WORD-TO-BYTE OPERATION
Figure 10 illustrates Word-to-Byte timing and Figure 11 depicts the Word-to-Byte Mode data path.
PC_HA<10:0>
PC_HCE1 PC_HWE or PC_HOE PC_WAIT
ATA_HA<2:0>
Valid Even Address
Adr+1
ATA_HCS<1:0> ATA_HIOR ATA_HIOW ATA_IOCHRDY Internal Clock (PC_MCLK_IN /2) Internal Strobe Delay (HIOR/HIOW) Internal Access Delay (HIOR/HIOW) Count 0 1 2 Count 0 1 2 Count 0
Count 0
1
2
Count 0
HIOR/HIOW strobe delay equals IOCHRDY time plus strobe width period programmed in the Bus Control register 2Fh bits <5:4>
HIOR/HIOW strobe access equals access delay period programmed in the Bus Control register 2Fh bits <7:6>
Figure 10.
Word-to-Byte Timing
PS012002-1201
Programming Internal Registers
Z86017/Z16017 PCMCIA Interface Solution Product Specification
77
PCMCIA Host Writes PC_DATA<15-8> Data MUX PC_DATA<7-0> ATA_DATA<7-0> PC_DATA<7-0>
PCMCIA Host Reads Data Reciever
PC_DATA<15-8>
Data Latch
ATA_DATA<7-0>
Figure 11.
Word-to-Byte Mode Data Path
* *
PCMCIA Host Write PC_DATA<7-0> (Even Byte) written to ATA_DATA<7-0> PC_DATA<15-8> (Odd Byte) written to ATA_DATA<7-0> PCMCIA Host Read The PCMCIA selects an even address, then the ZX6017 pulls WAIT and reads the even register from the peripheral device, saves it in a latch, increments the local peripherals address bus, then reads the odd data byte and clears the PCMCIA WAIT pin. ATA_DATA<7-0> (Even Byte) put onto PC_DATA<7-0> ATA_DATA<7-0> (Odd Byte) put onto PC_DATA<15-8>
Table 60 describes the PCMCIA Host read and write address examples.
Programming Internal Registers
PS012002-1201
Z86017/Z16017 PCMCIA Interface Solution Product Specification
78
Table 60. PCMCIA
Host Address 0 Host Address 2 Host Address 4 NOTES:
PCMICA Host Read and Write Address Examples1,2 GeneralPurpose
Host Address 0 Host Address 2 Host Address 4
ATA/IDE Memory Mode
Word Access Only Peripheral Address 2, then 3 Peripheral Address 4, then 5
Maps
Peripheral Address 0, then 1 Peripheral Address 2, then 3 Peripheral Address 4, then 5, and so on.
1. If the peripheral asserts the ATA_IOCS16, then this feature is aborted. 2. The host accesses must be on even addresses.
PS012002-1201
Programming Internal Registers
Z86017/Z16017 PCMCIA Interface Solution Product Specification
79
Configuration Registers
INTRODUCTION
Support for the PCMCIA Configuration Registers is provided by the ZX6017. Table 62 lists register decodes. Three additional registers have been added to the ZX6017 to provide an EEPROM link to support remote programming for attribute memory.
Table 62. PCMCIA Address xx0h to xx8h, Configuration Register Decode Action Read Configuration Option Register Write Configuration Option Register Read Card Configuration and Status Write Card Configuration and Status Read Pin Replacement Register Write Pin Replacement register Read Socket and Copy Register Write Socket and Copy Register Read I/O Event Indication Status(*) Write I/O Event Indication Status(*)
WE OE REG CE1 CE2 Address 1 0 1 0 1 0 1 0 1 0 0 1 0 1 0 1 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 xx0hx xx0hx xx2hx xx2hx xx4hx xx4hx xx6hx xx6hx xx8hx xx8hx
* The I/O Event Indication Status Register is only available on BA revisions of the ZX6017. (See device top mark for revision level.)
Configuration Registers
PS012002-1201
Z86017/Z16017 PCMCIA Interface Solution Product Specification
80
Table 63. WE 0 1 0 1 0 1 OE 1 0 1 0 1 0
ZiLOG EEPROM Programming Extensions1 REG 0 0 0 0 0 0 CE1 0 0 0 0 0 0 CE2 1 1 1 1 1 1 Address 7F0h 7F0h 7F2h 7F2h 7F4h 7F6h Action Write EEPROM Address Read EEPROM Status Write EEPROM Data Read EEPROM Data EEPROM Command Revision Register
* The I/O Event Indication Status Register is only available on BA revisions of the ZX6017. (See device top mark for revision level.)
NOTES:
1.
CONFIGURATION REGISTERS
EEPROM Register Address: SELECT 0Ah Name: PCMCIA Configuration Option Register CCR0 Type: Write/Read
Table 64. PCMCIA Configuration Option Register CCR0: Address 0Ah Bit Name Configuration Index Level Request Description Card configuration chosen by the system. Level mode interrupts are selected when this bit is set to 1. Pulse mode interrupts are selected when this bit is set to 0. Setting this bit to 1 places the card in the reset state.
Bit Placement Bits 5-0 Bit 6
Bit 7
SRESET
PS012002-1201
Configuration Registers
Z86017/Z16017 PCMCIA Interface Solution Product Specification
81
EEPROM Register Address: SELECT 0Bh Name: PCMCIA Card Status Register CCR1 Type: Write/Read
Table 65. PCMCIA Card Status Register CCR1: Address 0Bh Bit Name Reserved Interrupt Power Down Audio Reserved IOIS8 SIGCHG Description Must be 0. This bit represents the state of the Interrupt request signal. The card enters the power down state when this bit is set to 1. Also see Register 2Bh (. Set this bit to 1 for audio information. Must be 0. System can only provide I/O cycles with an 8-bit D7D0 data path. This bit is set and reset by the host to allow a state change from the status register. Also see Register 1Fh (Table 68).
Bit Placement Bit 0 Bit 1 Bit 2 Bit 3 Bit 4 Bit 5 Bit 6
Bit 7
Changed
Configuration Registers
PS012002-1201
Z86017/Z16017 PCMCIA Interface Solution Product Specification
82
EEPROM Register Address: SELECT 0Ch Name: PCMCIA Pin Replacement Register CCR2 Type: Write/Read
Table 66. PCMCIA Pin Replacement Register CCR2: Address 0Ch Bit Name RWPROT RRDY//BSY Description Write Protect switch. When read, this bit represents the internal state of the RRDY/BSY signal. When written, this bit acts as a mark for writing the corresponding bit CRDY/BSY. When read, this bit represents the internal state of the Battery Voltage detection circuits on cards which contain a battery. This signal represents the values on PCMCIA pin BVD2. Also see Register 2Ch (Table 54). When read, this bit represents the internal state of the Battery Voltage detection circuits on cards which contain a battery. This signal represents the values on PCMCIA pin BVD1. Also see Register 2Ch (Table 54). This bit is set to 1 when RWPROT changes state. This bit is set to 1 when the bit RRDY//BSY changes state. This bit is set to 1 when the corresponding bit RBVD2 changes state. This bit is set to 1 when the corresponding bit RBVD1 changes state.
Bit Placement Bit 0 Bit 1
Bit 2
RBVD2
Bit 3
RBVD1
Bit 41 Bit 51 Bit 61 Bit 71
NOTES:
CWPROT CRDY//BSY CBVD2 CBVD1
1. When this register is read, these four bits are reset.
PS012002-1201
Configuration Registers
Z86017/Z16017 PCMCIA Interface Solution Product Specification
83
EEPROM Register Address: SELECT 0Dh Name: PCMCIA Socket and Copy Register CCR3 Type: Write/Read
Table 67. PCMCIA socket and Copy Register CCR3: Address 0Dh Bit Name Socket Number Description This field indicates to the card that it is located in the nth socket. The first socket is numbered 0. This permits cards designed to share a common set of I/O ports to do so while remaining uniquely identifiable. Cards which indicate in their CIS that they support more than one copy of identically configured cards, should have a copy number (0 to MAX twin cards, MAX = n - 1) written back to the socket and copy register.
Bit Placement Bits 3-0
Bits 5-4
Copy Number
Bit 7
Reserved
Configuration Registers
PS012002-1201
Z86017/Z16017 PCMCIA Interface Solution Product Specification
84
EEPROM Register Address: SELECT 1Fh Name: PCMCIA I/O Event Indication CCR4 Type: Read/Write
Table 68. PCMCIA I/O Event Indication CCR4: Address 1Fh Bit Name RSVDEVT3 Description Input pin EXTP_STSCHG/RES2 sets this bit. When this bit is set and the PIEnab bit is set to 1, the changed bit in the Card configuration and status register is also set to 1. Input pin ATA_DATA8/RES1 sets this bit. When this bit is set and the PIEnab bit is set to 1, the changed bit in the Card configuration and status register is also set to 1. The card latches this bit to a 1on receipt of a validated incoming packet over an RF channel. The source of this signal is ATA_DATA9/PACK_IN. When this bit is set to 1 and the PIEnab bit is set to 1, the changed bit in the Card configuration and status register is also set to 1. And, if the SIGCHG bit in the card configuration status register has also been set by the host, the STSCHG pin (pin 63) goes Low. The host writing a 1 to this bit clears it to 0. Writing a 0 to this bit has no effect. This bit is latched to a 1 by the card after the receipt of a 1 on the ATA/PDIAG/ATA_BHE/RING-IN signal. When this bit is set to 1 and the RIEnab bit is set to 1, the changed bit in the Card configuration and status register is also set to 1. And, if the SIGCHG bit in the card configuration status register has also been set by the host, then the STSCHG pin (pin 63) goes Low. The host writing a 1 to this bit clears it to 0. Writing a 0 to this bit has no effect.
Bit Placement Bit 7
Bit 6
RSVDEVT2
Bit 5
PIEvt
Bit 4
RIEvt
PS012002-1201
Configuration Registers
Z86017/Z16017 PCMCIA Interface Solution Product Specification
85
Table 68.
PCMCIA I/O Event Indication CCR4: Address 1Fh (Continued) Bit Name RSVDENAB3 Description Setting this bit enables the Changed bit in the card configuration and status register to be set when the RSVDEVT3 bit is set. When this bit is cleared, this feature is disabled. Setting this bit enables the Changed bit in the card configuration and status register to be set when the RSVDEVT2 bit is set. When this bit is cleared, this feature is disabled. Setting this bit enables the changed bit in the Card configuration and status register to be set when the PIEvt bit is set. When this bit is cleared, this feature is disabled. Setting this bit enables the changed bit in the Card configuration and status register to be set when the RIEvt bit is set. When this bit is cleared, this feature is disabled.
Bit Placement Bit 3
Bit 2
RSVDENAB2
Bit 1
PIENAB
Bit 0
RIENAB
Configuration Registers
PS012002-1201
Z86017/Z16017 PCMCIA Interface Solution Product Specification
86
PS012002-1201
Configuration Registers
Z86017/Z16017 PCMCIA Interface Solution Product Specification
87
Appendix A: Multifunction Pins
OVERVIEW OF MULTIFUNCTION PINS
ENABLE_RDY_BSY(REG_00 [4])
+READY/-BUSY
I1
S Mx2x1
PC_RDY/BSY/IREQ/HINT
I0 LEVEL IRQ I0 Mx2x1 PULSE_IREQ I1 S
CCR0 [6]
EN_CTR_IRQ,REG_00 [5]
Figure 12.
Z16017BA PC_RDY/BSY/IREQ/HINT Pin
Note: Width of the PULSE_IREQ is: T = 192 x Tpc_mclk_in
Appendix A: Multifunction Pins
PS012002-1201
Z86017/Z16017 PCMCIA Interface Solution Product Specification
88
MEM_ACCESS ATA_PDASP/EXTP_WP EN EXTP WP, REG01 [5]
PC_WP//IOIS16//IOIS16 Mx2x1 S
I0
ATA_IOCS16
I1 IO_ACCES EN_WP1, REG12 [3]
EN_WP1
EN_WP2
EN_WP1, REG16 [3]
EN_WP3
EN_WP1, REG1A [3]
Figure 13.
Z86017BA PC_WP//IOIS16//IOIS16 Pin
PS012002-1201
Appendix A: Multifunction Pins
Z86017/Z16017 PCMCIA Interface Solution Product Specification
89
MEM_ACCESS ATA_PDASP/EXTP_WP EN EXTP WP, REG01 [5]
PC_WP//IOIS16//IOIS16 Mx2x1 S
I0
ATA_IOCS16
I1 IO_ACCES EN_WP1, REG12 [3]
EN_WP1
EN_WP2
EN_WP1, REG16 [3]
EN_WP3
EN_WP1, REG1A [3]
Figure 14.
Z16017BA PC_WP//IOIS16//IOIS16 Pin
Appendix A: Multifunction Pins
PS012002-1201
Z86017/Z16017 PCMCIA Interface Solution Product Specification
90
EN_DASP,REG2 [3] EN_DASP_EXT,REG2 [7] ATA_PDASP/EXTP_WP
EN_DASP_INT,REG2 [6] PDASP_SET,REG2 [2]
PC/BVD2//SPKR//DASP/DREQ Mx2x1 S
I1 I0 I0 PCMCIA_MODE I2 IORD CE1 CE2 S1 S0 I3 EN_SPKR,REG02 [5] ATA_DREQ/BVD1 Mx4x1 I1 AUDIO_EN,CCR1 [3] EN_BVD,REG2C [6] EXTP_AUDIO
EN_DMA_ACK1,REG12 [7] EN_DMA_ACK2,REG16 [7] PC_INPACK/DREQ Mx2x1 S I0 AT_PDIAG ATA_MODE ATA_MODE INT_PDIAG,REG02 [2] PC_BVD1//STSCHG//PDIAG Mx2x1 S I1 S PCMCIA_MODE Mx2x1 I0 PC_REG//DACK ATA_DACK/BVD2 MAP1_DMACK MAP2_DMACK MAP3_DMACK PCMCIA_MODE I1 I0 EN_INT_PDIAG,REG04 [6] EN_PDIAG,REG02 [1] EXTP_STSCHG EN_DMA_ACK3,REG1A [7] I1 EN_PDIAG_EXT,REG04 [7] ATA_PDIAG
MAPn_DMACK = EN_DMA_ACKn & MAPn_ACC
Figure 15.
Z86017BA (Overview of Internal Structure)
PS012002-1201
Appendix A: Multifunction Pins
Z86017/Z16017 PCMCIA Interface Solution Product Specification
91
EN_DASP,REG2 [3] EN_DASP_EXT,REG2 [7] ATA_PDASP/EXTP_W EN_DASP_INT,REG2 [6] PDASP_SET,REG2 [2]
PC/BVD2//SPKR//DASP/DREQ Mx2x1 S
I1 I0 I0 PCMCIA_MODE I2 ATA_DREQ/BVD1 IORD CE1 CE2 EN_SPKR,REG02 [5] EN_DMA_ACK1,REG12 [7] EN_DMA_ACK2,REG16 [7] EN_DMA_ACK3,REG1A [7] S1 S0 I3 Mx4x1 I1 AUDIO_EN,CCR1 [3] EN_BVD,REG2C [6] EXTP_AUDIO
PC_INPACK/DREQ Mx2x1 S
I1
BVD_CTRL,REG26 [7] EN_PDIAG_EXT,REG04 [7] ATA_PDIAG AT_PDIAG ATA_MODE ATA_MODE INT_PDIAG,REG02 [0]
I0
PC_BVD1//STSCHG//PDIAG Mx2x1 S
I0
EN_INT_PDIAG,REG04 [6] EN_PDIAG,REG02 [1] EXTP_STSCHG S PCMCIA_MODE Mx2x1 I0 I1
I1
PC_REG//DACK ATA_DACK/BVD2 MAP1_DMACK MAP2_DMACK MAP3_DMACK PCMCIA_MODE
MAPn DMACK = EN DMA ACKn & MAPn ACC
Figure 16.
Z16017BA (Overview of Internal Structure)
Appendix A: Multifunction Pins
PS012002-1201
Z86017/Z16017 PCMCIA Interface Solution Product Specification
92
PS012002-1201
Appendix A: Multifunction Pins
Z86017/Z16017 PCMCIA Interface Solution Product Specification
93
Appendix B: Electrical Characteristics and Timing
Table 69. Parameter Supply Voltage Input Voltage Output Voltage Storage Temperature Temperature Under Bias Absolute Maximum Ratings Symbol VDD VI VO TSTG TBIAS Unit Min. Value V V V C C -0.5 -0.5 -0.5 -40 -25 Max. Value 7.0 VDD + 0.5 + 0.5 VDD +125 +85
Appendix B: Electrical Characteristics and Timing
PS012002-1201
Z86017/Z16017 PCMCIA Interface Solution Product Specification
94
Table 70.
DC Electrical Characteristics
VCC = 3.3V 10%
TA = 0C to +70C Sym. Parameter VIH VIL VOH VOH VOL VRH VRl IIL IOL IIR ICC ICC1 VIH VIL VOH VOH VOL Input High Voltage Input Low Voltage Output High Voltage Output High Voltage Output Low Voltage Reset Input High Voltage Reset Input Low Voltage Input Leakage Output Leakage Reset Input Current Supply Current
1
Minimum 0.7 VCC -0.3 1.8 VCC - 100 mV
Maximum VCC 0.1 VCC
Typical at 25C Units Conditions V V V V IOH = 4 mA IOH = 100 A IOL = 4 mA
0.4 0.8 VCC -0.3 -2 -2 VCC 0.1 VCC 2 2 -80 4 300 2.0 -0.3 2.4 VCC -100 mV 0.4 VCC 0.8 3 250
V V V A A A mA A V V V V V
Test at 0V, VCC Test at 0V, VCC VRL = 0V @ 20 MHz
Standby Current2 Input High Voltage Input Low Voltage Output High Voltage Output High Voltage Output Low Voltage
IOH = -6 mA IOH = 100 A IOL = 6 mA
PS012002-1201
Appendix B: Electrical Characteristics and Timing
Z86017/Z16017 PCMCIA Interface Solution Product Specification
95
Table 70.
DC Electrical Characteristics (Continued)
VCC = 3.3V 10%
TA = 0C to +70C Sym. Parameter VRH VRl IIL IOL IIR ICC ICC1 Reset Input High Voltage Reset Input Low Voltage Input Leakage Output Leakage Reset Input Current Supply Current
1
Minimum 3.8 -0.3 -2 -2
Maximum VCC 0.8 2 2 -80 5 350
Typical at 25C Units Conditions V V A A A 4 300 mA A Test at 0V, VCC Test at 0V, VCC VRL = 0V @ 20 MHz
Standby Current2
1. All inputs driven to 0V, VCC and outputs floating. 2. EN_Pads Bit Set, PC_MCLK=0, EE_SK=0
Appendix B: Electrical Characteristics and Timing
PS012002-1201
Z86017/Z16017 PCMCIA Interface Solution Product Specification
96
INTERNAL ATTRIBUTE MEMORY TIMING
Table 71. Internal Attribute Memory Timing
(Speed Version: 300 ns)
No. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
Symbol TcR TaA TaCE TaOE TdisCE TdisOE TenCE TenOE TvA TsuA ThA TsuCE ThCE TvWToe TwWT TvWT
Parameter Read Cycle Time Address Access Time Card Enable Time Output Enable Access Time Output Disable Time from CE Output Disable Time from OE Output Enable Time from CE Output Enable Time from OE Data Valid from Address Change Address Setup Time Address Hold Time Card Enable Setup Time Card Enable Hold Time Wait Valid from OE Wait Pulse Width Data Setup for Wait Released
Minimum Maximum Units 300 300 300 150 100 100 5 5 0 30 20 0 20 35 12 0 ns ns ns ns ns ns ns ns ns ns ns ns ns ns s ns
PS012002-1201
Appendix B: Electrical Characteristics and Timing
Z86017/Z16017 PCMCIA Interface Solution Product Specification
97
1
PC_HA <10:0>
2 9
PC_REG
11
PC_HCE1
3
10
7 12 13
5 4
PC_HOE
PC_HWE
8 6
PC_DATA <15:0> Note: PC_REG is active Low for Attribute Memory reads only.
Figure 17.
PCMCIA Read Memory Timing, No Wait States
Appendix B: Electrical Characteristics and Timing
PS012002-1201
Z86017/Z16017 PCMCIA Interface Solution Product Specification
98
1
PC_HA <10:0>
2 9
PC_REG
11
PC_HCE1 or PC_HCE2
10 7
3
5
PC_HOE
12
4
13
PC_HWE
8 6
PC_DATA <15:0>
14 16
PC_WAIT
Note: PC_REG is active Low for Attribute Memory reads only.
15
Figure 18.
PCMCIA Read Memory Timing, Wait State Enabled
PS012002-1201
Appendix B: Electrical Characteristics and Timing
Z86017/Z16017 PCMCIA Interface Solution Product Specification
99
Table 72. No. 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Symbol TcW TwWE TsuA TsuAwe TsuCwe TsuDwe ThD TrecWE
PCMCIA Memory Write Timing Min. Max. Min. Max. Min. Max. Units 200 120 20 140 140 60 30 30 90 90 5 10 10 0 20 150 80 20 100 100 50 20 20 75 75 5 10 10 0 15 100 60 10 70 70 40 15 15 50 50 ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns
Parameter Write Cycle Time Write Pulse Width Address Setup Time Address Setup Time for WE Card Enable Setup Time for WE Data Setup Time for WE Data Hold Time Write Recover Time
TdisOwe Output Disable Time from WE TdisOE TenWE TsuCwe ThCwe TsuCE ThCE Output Disable Time from OE Output Enable Time from 5 WE Output Enable Setup from 10 WE Card Enable Hold from WE Card Enable Setup Time Card Enable Hold Time 10 0 20
Appendix B: Electrical Characteristics and Timing
PS012002-1201
Z86017/Z16017 PCMCIA Interface Solution Product Specification
100
Table 72. No. 32 33 34 Symbol
PCMCIA Memory Write Timing (Continued) Min. Max. Min. Max. Min. Max. Units 35 12 0 0 35 12 0 35 12 ns s ns
Parameter
TvWTwe Wait Valid from WE TwWT TvWT Wait Pulse Width WE High from Wait Released
PS012002-1201
Appendix B: Electrical Characteristics and Timing
Z86017/Z16017 PCMCIA Interface Solution Product Specification
101
17
PC_HA <10:0>
20
PC_REG
19 24
PC_HCE1 or PC_HCE2
21
PC_HWE
18
PC_HOE
28 22 29 23
PC_DATA <15:0>
26 25
Data In
27
PC_DATA <15:0>
Data Out
Note: PC_REG is active Low for Attribute Memory reads only.
Figure 19.
PCMCIA Write Memory Timing, No Wait States
Appendix B: Electrical Characteristics and Timing
PS012002-1201
Z86017/Z16017 PCMCIA Interface Solution Product Specification
102
17
PC_HA <10:0>
PC_REG
20 24
PC_HCE1 or PC_HCE2
30 19
21
31
PC_HWE
18
PC_HOE
29 28 22 23
PC_DATA <15:0>
26
PC_WAIT Note: PC_REG is active Low for Attribute Memory reads only.
33
Figure 20.
PCMCIA Write Memory Timing, Wait State Enabled
PS012002-1201
Appendix B: Electrical Characteristics and Timing
Z86017/Z16017 PCMCIA Interface Solution Product Specification
103
Table 73. No. 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 Symbol TdIORD ThIORD twIORD TsuAiord ThAiord TsuCEiord ThCEiord TsuRGiord ThRGiord TdIPKiord TdIPKiord TdIOISad TdIOISadr TdWiord TdWTr TwWT
I/O Read Timing Specification Parameter Data Delay After IORD Data Hold Following IORD IORD Width Time Address Setup Before IORD Address Hold Following IORD CE Setup Before IORD CE Hold Following IORD REG Setup Before IORD REG Hold Following IORD INPACK Delay to IORD INPACK Delay from IORD IOIS16 Delay from Address IOIS16 Delay Rise from Address Wait Delay from IORD Data Delay from Wait Rising Wait Width Time Minimum Maximum Units 100 0 165 70 20 5 20 5 0 0 45 45 35 35 35 35 12 ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns s
Appendix B: Electrical Characteristics and Timing
PS012002-1201
Z86017/Z16017 PCMCIA Interface Solution Product Specification
104
PC_HA <11:0>
39 55
PC_REG
42
43
37 56
PC_HCEx
40 41 35 56
PC_IORD
38
PC_INPACK
44 45
PC_IOIS16
46 47
PC_WAIT
48 50 49 36
PC_DATA <15:0> (In) Data
Figure 21.
I/O Read Timing
PS012002-1201
Appendix B: Electrical Characteristics and Timing
Z86017/Z16017 PCMCIA Interface Solution Product Specification
105
Table 74. No. 51 52 53 54 55 56 57 58 59 60 61 62 63 Symbol TsuIOWR ThIOWR TwIOWR TsuAiowr ThAiowr TsuCEiowr ThCEiowr TsuRGiowr ThRGiowr TdIOISadr TIdIOISadr TdWTiowr TwWT
I/O Write Timing Specification Parameter Data Setup before IOWR Data Hold after IOWR IOWR Width Time Address Setup to IOWR Address Hold after IOWR CE Setup before IOWR CE Hold after IOWR REG Setup before IOWR REG Hold after IOWR IOIS16 Delay Falling from Address IOIS16 delay Rising from Address Wait Delay Falling from IOWR Wait Width Timing Minimum Maximum Units 60 30 165 70 20 5 20 5 0 35 35 35 12 ns ns ns ns ns ns ns ns ns ns ns ns s
Appendix B: Electrical Characteristics and Timing
PS012002-1201
Z86017/Z16017 PCMCIA Interface Solution Product Specification
106
PC_HA <11:0>
55
PC_REG
58
59
PC_HCEx
56
57
53
PC_IOWR
54 61
PC_IOIS16
63
PC_WAIT
60 51 52 62
PC_DATA <15:0>
Data Out
Figure 22.
I/O Write Timing
Table 75.
Skew Timing Between PCMCIA And ATA/IDE or Peripheral Bus Parameter Address Skew I/O Fall Skew I/O Rise Skew Mem Fall Skew Mem Rise Skew Minimum 0 0 0 0 0 Maximum 25 25 25 25 25 Units ns ns ns ns ns
No. 64 65 66 67 68
Symbol TskADR TskI/Of TskI/Or TskMEMf TskMEMr
PS012002-1201
Appendix B: Electrical Characteristics and Timing
Z86017/Z16017 PCMCIA Interface Solution Product Specification
107
PC_HA <10:0>
64
ATA_HA <2:0>
PC_DATA <15:0>
64
ATA_DATA <15:0>
PC_HIOW, /PC_HIOR PC_HCE1, PC_HCE2
65 66
ATA_HIOW, /ATA_HIOR ATA_HCS0, ATA_HCS1
PC_WE, /OE
67 68
ATA_HIOW, ATA_HIOR ATA_MRD, ATA_MWR
Figure 23.
Skew Timing Between PCMCIA and ATA/IDE or Peripheral Bus
Appendix B: Electrical Characteristics and Timing
PS012002-1201
Z86017/Z16017 PCMCIA Interface Solution Product Specification
108
017 DEVICE SLEW DELAY
50
40 35 30 ns 20 15 10 25
0 25 50 Output Load (pF) 100
Figure 24.
017 Slew Delay Derating Curve (Typical)
PS012002-1201
Appendix B: Electrical Characteristics and Timing
Z86017/Z16017 PCMCIA Interface Solution Product Specification
109
Table 76. No. 69 70 71 72 73 74 75 76 77 Symbol TpMCKin TsuCS ThCS ThDout TsuDout ThDin TsuDin TpCKw TpCKs
Serial Interface Timing Minimum 50 25 0 10 25 0 25 200 200 Maximum Units ns ns ns ns ns ns ns ns ns
Parameter Master Clock In Period CS Setup to CLK time CS Hold after CLK Data Hold Time Data Setup Time Data Hold Time Data Setup Time Clock Period, Master Clock Period, Slave
Appendix B: Electrical Characteristics and Timing
PS012002-1201
Z86017/Z16017 PCMCIA Interface Solution Product Specification
110
PC_MCLK_IN
69
76
EE_CS EE_SK Sync Bit 1 EE_DO 10 Read Address
SB CMD
Master Mode Read EEPROM Timing EE_DI
Data
Sync Bit 1 EE_DO
01
Write Address Data Ready Busy
SB CMD
Master Mode Write EEPROM Timing EE_DI
EE_CS
70 71
EE_SK
73 72
EE_DO
75 74
EE_IN
Figure 25.
FMaster Mode Read EEPROM Timing
PS012002-1201
Appendix B: Electrical Characteristics and Timing
Z86017/Z16017 PCMCIA Interface Solution Product Specification
111
EE_CS
77
EE_SK 8-Bit Address EE_DI Command
D7D6D5D4 D3D2D1D0D7 D6 D5 D4 D3 D2 D1 D0 1 1 0 XXXXX
Read Cmd
Sync Bit
EE_DO
Tri-State
DDDDD DDD 76543210
Tri-State
Slave Read Command
EE_CS
EE_SK
D7D6D5D4 D3 D2D1D0D7 D6 D5 D4 D3 D2 D1 D0 D7D6D5D4 D3 D2D1D0
EE_DI 8-Bit Address
1 0 1 XXXXX
EE_DO Tri-State
Write Cmd
Command
Data
Sync Bit
Tri-State
Slave Write Command
EE_CS
70
71
EE_SK
75 74
EE_DI
73
72
EE_DO
Tri-State
Tri-State
Slave Timing
Figure 26.
Slave Interface Timing (Read)
Appendix B: Electrical Characteristics and Timing
PS012002-1201
Z86017/Z16017 PCMCIA Interface Solution Product Specification
112
PS012002-1201
Appendix B: Electrical Characteristics and Timing
Z86017/Z16017 PCMCIA Interface Solution Product Specification
113
Appendix C: Timing Examples
g PC_HRESET//HRESET
/POR
/ATA_HRESET 40 s/@ 20 MHz
EE_CE 65 s/@ 20 MHz PCMCIA Mode Bit 5 Register 03H = 1 65 s/@ 20 MHz
40 s/@ 20 MHz 65 s/@ 20 MHz
5 EE accesses in Master mode
65 s/@ 20 MHz + EE accesses in Master Mode Vcc
65 s/@ 20 MHz
Z86017BA
PC_HRESET//HRESET Vcc
/ATA_HRESET
Figure 27.
Z16017BA Reset Timing PCMCIA Mode
Appendix C: Timing Examples
PS012002-1201
Z86017/Z16017 PCMCIA Interface Solution Product Specification
114
CDEF
1X0
90AB
1X0
5678
0
1X0
1234
1X0
1234
0
5678
90AB
0
CDEF
0
Figure 28.
PCMCIA ATA/IDE 16-Bit I/O Write (Register 24 = 01, Internal IOIS 16 is selected)
PS012002-1201
Appendix C: Timing Examples
ATA_DATA [15-0]
ATA_HIOW
PC_DATA [7-0]
ATA_HA [2-0]
ATA_REG
PC_HA [10-0]
PC_WP//IOIS16
ATA_HIOW
ATA_HCS0
PC_CE1
PC_CE2
Figure 29.
PC_CE1
Appendix C: Timing Examples
1X0 1X0 1X0 1X0 1X0 1X0 1X0 1X0 1X0 1X0 1X0 1X0 1X0 1X0 1X0 1X0 1X0 1X0 01 23 45 67 89 AB 01 EF 01 23 45 67 47 47 47 47 47 47 0 0 0 0 0 0 0 0 0 0 0 0 0123 DATA READ 4567 89AB CDEF 0123 4567 47 47 47 47 ECC READ 47 47
PC_CE2
PC_HA[10:0]
PC_REG
PC_HIOR
PC_DATA [7-0]
ATA_HA [2-0]
ATA_HCS0
ATA_HIOR
PCMCIA ATA / IDE 8-Bit Long Read (Reading 512-byte data plus 6-byte ECC)
Z86017/Z16017 PCMCIA Interface Solution Product Specification
ATA_DATA [15-0]
PS012002-1201
115
Z86017/Z16017 PCMCIA Interface Solution Product Specification
116
PS012002-1201
Appendix C: Timing Examples
Z86017/Z16017 PCMCIA Interface Solution Product Specification
117
Appendix D: Packaging and Ordering Information
20 MHZ PCMCIA ADAPTER CHIPS
Z86017 100-Pin VQFP Z8601720ASC Z86M17 100-pin VQFP Z86M1720ASC Z16017 100-Pin VQFP Z1601720ASC Z16M17 100-Pin VQFP Z16M1720ASC
For fast results, contact your local ZiLOG sales office for assistance in ordering the part desired.
Package
A = VQFP
Temperature
S = 0 to +70 C
Speed
20 = 20 MHz
Environmental
C = Plastic Standard
Appendix D: Packaging and Ordering Information
PS012002-1201
Z86017/Z16017 PCMCIA Interface Solution Product Specification
118
Z 16017 20 A S C
is a Z16017, 20 MHz, VQFP, 0 C to +70 C, Plastic Standard Flow Environmental Flow Temperature Package Speed Product Number Zilog Prefix
Figure 30.
Example Package Name
PS012002-1201
Appendix D: Packaging and Order-
Z86017/Z16017 PCMCIA Interface Solution Product Specification
119
Package Dimensions
Figure 31.
100-Lead VQFP Package Diagram
Appendix D: Packaging and Ordering Information
PS012002-1201
Z86017/Z16017 PCMCIA Interface Solution Product Specification
120
PS012002-1201
Appendix D: Packaging and Order-
Z86017/Z16017 PCMCIA Interface Solution Product Specification
121
Appendix E: PCMCIA Interface Development Kit
GENERAL DESCRIPTION
The Z8601700ZCO Development Kit allows easy evaluation of the functions and capabilities of the Z86017 PCMCIA Interface Adapter. The board provides a ZIF socket for easy insertion and removal of the Z86017, as well as a full pin-out header for access to all signals. The board also provides breadboard space to assist in development. Power to the Z86017 can either be supplied through a common point for current measurements applied through the interface, or supplied through a separate power connector. Programming the Z86017 is accomplished through the SPI port of a microcontroller or through the on-board EEPROM. The main clock source is supplied through the interface or through the on-board clock.
Z86017 SPECIFICATIONS Power Requirements:
3.0V < VCC < +5.5V
Dimensions
Length: 7.6 in. (19.3 cm) Width: 4.5 in. (11.4 cm)
Appendix E: PCMCIA Interface Development Kit
PS012002-1201
Z86017/Z16017 PCMCIA Interface Solution Product Specification
122
KIT CONTENTS Evaluation Board
* * * * * * * * * *
Z86017 PCMCIA Interface Adapter Device 100-Pin VQFP ZIF Socket 256 X 8-Byte EEPROM 20 MHz Oscillator Headers for full Z86017 pin-out Headers for access for PCMCIA signals Headers for connection to AT-Bus (on both Host and ATA side) Headers for connection to PCMCIA Extender Card Header for intelligent peripheral programming of EEPROM Power Connector
ZPCMCIA0ZDP PCMCIA Extender Card Cables
* * *
Two 6-inch, 34-pin IDC to 34-pin IDC Cables Power Cable with 1.0A Fuse Power Cable with Banana Plugs
Software
*
Example Initialization Code
PS012002-1201
Appendix E: PCMCIA Interface De-
Z86017/Z16017 PCMCIA Interface Solution Product Specification
123
Documentation
* * *
Z8601700ZCO Evaluation Kit User's Manual Z86017/Z16017 Reference Manual Product Registration Card
Appendix E: PCMCIA Interface Development Kit
PS012002-1201
Z86017/Z16017 PCMCIA Interface Solution Product Specification
124
PS012002-1201
Appendix E: PCMCIA Interface De-


▲Up To Search▲   

 
Price & Availability of Z1601720ASC

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X